WiP on selectable mosaico templates. TODO: Make files always point to trusted URL, such that we don't have to rebase them. They are public anyway. The same goes for mosaico endpoints: /mosaico/templates and /mosaico/img
12 lines
No EOL
236 B
JavaScript
12 lines
No EOL
236 B
JavaScript
'use strict';
|
|
|
|
import {getUrl} from "./urls";
|
|
import axios from "./axios";
|
|
|
|
async function checkPermissions(request) {
|
|
return await axios.post(getUrl('rest/permissions-check'), request);
|
|
}
|
|
|
|
export {
|
|
checkPermissions
|
|
} |