mirror of
https://github.com/strapi/strapi.git
synced 2025-07-18 22:45:47 +00:00
11 lines
202 B
JavaScript
11 lines
202 B
JavaScript
'use strict';
|
|
|
|
const { prop } = require('lodash/fp');
|
|
|
|
module.exports = {
|
|
// retrieve a local service
|
|
getService(name) {
|
|
return prop(`content-manager.services.${name}`, strapi.plugins);
|
|
},
|
|
};
|