mirror of
https://github.com/strapi/strapi.git
synced 2025-07-12 11:31:38 +00:00
12 lines
193 B
JavaScript
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,
|
|
};
|