mirror of
https://github.com/strapi/strapi.git
synced 2025-07-18 22:45:47 +00:00
12 lines
173 B
JavaScript
12 lines
173 B
JavaScript
'use strict';
|
|
|
|
const { prop } = require('lodash/fp');
|
|
|
|
const getService = name => {
|
|
return prop(`admin.services.${name}`, strapi);
|
|
};
|
|
|
|
module.exports = {
|
|
getService,
|
|
};
|