update published status handler

This commit is contained in:
Jacob Overgaard
2022-11-09 13:36:43 +01:00
parent 5773bb0b9f
commit 8d04ef7276

View File

@@ -31,7 +31,7 @@ export const handlers = [
);
}),
rest.get(umbracoPath('/published-cache/collect'), (_req, res, ctx) => {
rest.post(umbracoPath('/published-cache/collect'), (_req, res, ctx) => {
return res(
// Respond with a 200 status code
ctx.status(200)