UNPKG

strapi-plugin-publisher

Version:

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

8 lines (6 loc) 248 B
import { request } from '@strapi/helper-plugin'; import { getPluginEndpointURL } from './getPluginEndpointURL'; export const requestPluginEndpoint = (endpoint, data) => { const url = getPluginEndpointURL(endpoint); return request(url, data); };