mirror of
https://github.com/strapi/strapi.git
synced 2025-07-23 17:10:08 +00:00
14 lines
268 B
JavaScript
14 lines
268 B
JavaScript
'use strict';
|
|
|
|
const pickWritableAttributes = require('./pick-writable-attributes');
|
|
|
|
// retrieve a local service
|
|
const getService = (name) => {
|
|
return strapi.plugin('content-manager').service(name);
|
|
};
|
|
|
|
module.exports = {
|
|
getService,
|
|
pickWritableAttributes,
|
|
};
|