mirror of
https://github.com/ComfortablyCoding/strapi-plugin-slugify.git
synced 2025-12-19 00:01:40 -05:00
15 lines
262 B
JavaScript
15 lines
262 B
JavaScript
'use strict';
|
|
|
|
const { pluginId } = require('./pluginId');
|
|
|
|
/**
|
|
* A helper function to obtain a plugin service
|
|
*
|
|
* @return service
|
|
*/
|
|
const getPluginService = (strapi, name) => strapi.plugin(pluginId).service(name);
|
|
|
|
module.exports = {
|
|
getPluginService,
|
|
};
|