Alexandre Bodin 8ecc36cfa3 Init refactoring of content manager configuration routes
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-11-02 19:41:42 +01:00

10 lines
266 B
JavaScript

'use strict';
const { getService } = require('../../utils');
module.exports = async () => {
await getService('components').syncConfigurations();
await getService('content-types').syncConfigurations();
await getService('permission').registerPermissions();
};