12 lines
193 B
JavaScript
Raw Normal View History

2021-06-29 16:27:35 +02:00
'use strict';
const { prop } = require('lodash/fp');
const getService = name => {
return prop(`users-permissions.services.${name}`, strapi.plugins);
};
module.exports = {
getService,
};