2021-01-29 10:12:34 +01:00

13 lines
208 B
JavaScript

'use strict';
const { prop } = require('lodash/fp');
// retrieve a local service
const getService = name => {
return prop(`i18n.services.${name}`, strapi.plugins);
};
module.exports = {
getService,
};