mirror of
https://github.com/strapi/strapi.git
synced 2025-07-09 01:52:36 +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,
|
||
|
};
|