mirror of
https://github.com/strapi/strapi.git
synced 2025-07-13 03:51:54 +00:00
15 lines
341 B
JavaScript
15 lines
341 B
JavaScript
'use strict';
|
|
|
|
/**
|
|
* An asynchronous bootstrap function that runs before
|
|
* your application gets started.
|
|
*
|
|
* This gives you an opportunity to set up your data model,
|
|
* run jobs, or perform some special logic.
|
|
*/
|
|
|
|
module.exports = cb => {
|
|
strapi.plugins['users-permissions'].services.userspermissions.updatePermissions();
|
|
cb();
|
|
};
|