2021-08-19 16:49:33 +02:00

12 lines
193 B
JavaScript

'use strict';
const { prop } = require('lodash/fp');
const getService = name => {
return prop(`users-permissions.services.${name}`, strapi.plugins);
};
module.exports = {
getService,
};