ui
This commit is contained in:
@@ -157,4 +157,14 @@ export const automationService = {
|
||||
getPipelineOverview: async (siteId: number): Promise<{ stages: PipelineStage[] }> => {
|
||||
return fetchAPI(buildUrl('/pipeline_overview/', { site_id: siteId }));
|
||||
},
|
||||
|
||||
/**
|
||||
* Publish all content without review (bulk action)
|
||||
* Note: backend must implement this endpoint for it to succeed.
|
||||
*/
|
||||
publishWithoutReview: async (siteId: number): Promise<void> => {
|
||||
await fetchAPI(buildUrl('/publish_without_review/', { site_id: siteId }), {
|
||||
method: 'POST',
|
||||
});
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user