UNPKG

strapi-plugin-publisher

Version:

A plugin for Strapi Headless CMS that provides the ability to schedule publishing for any content type.

15 lines (12 loc) 282 B
'use strict'; const { getPluginService } = require('../utils/getPluginService'); module.exports = () => ({ /** * Fetch the current plugin settings * * @return {Array} actions */ async find(ctx) { ctx.send({ data: getPluginService('settingsService').get() }); }, });