Created
February 5, 2022 08:38
-
-
Save smoothdvd/351e8bf2a745035d5d7cb4e125f0f819 to your computer and use it in GitHub Desktop.
server/bootstrap/index.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'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. | |
*/ | |
const _ = require('lodash'); | |
const uuid = require('uuid/v4'); | |
const { getService } = require('@strapi/plugin-users-permissions/server/utils'); | |
const usersPermissionsActions = require('@strapi/plugin-users-permissions/server/bootstrap/users-permissions-actions'); | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment