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