Skip to content

Instantly share code, notes, and snippets.

@smoothdvd
Last active February 5, 2022 08:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smoothdvd/0b2d0bb47d29cd838d40634a0eb98381 to your computer and use it in GitHub Desktop.
Save smoothdvd/0b2d0bb47d29cd838d40634a0eb98381 to your computer and use it in GitHub Desktop.
server/services/index.js
'use strict';
const jwt = require('@strapi/plugin-users-permissions/server/services/jwt');
const providers = require('./providers');
const user = require('@strapi/plugin-users-permissions/server/services/user');
const role = require('@strapi/plugin-users-permissions/server/services/role');
const usersPermissions = require('@strapi/plugin-users-permissions/server/services/users-permissions');
module.exports = {
jwt,
providers,
role,
user,
'users-permissions': usersPermissions,
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment