1
0
Fork 0
mirror of synced 2024-09-30 09:07:25 +13:00

fixing tests after dodgy merge

This commit is contained in:
Michael Shanks 2020-05-27 17:29:26 +01:00
parent 3bfe7840e4
commit 2d69d715d0

View file

@ -14,13 +14,14 @@ router
controller.fetchActionScript controller.fetchActionScript
) )
.put("/api/:instanceId/workflows", authorized(BUILDER), controller.update) .put("/api/:instanceId/workflows", authorized(BUILDER), controller.update)
.post("/api/:instanceId/workflows", authorized(BUILDER), controller.create)
.post( .post(
"/api/:instanceId/workflows/action", "/api/:instanceId/workflows/action",
authorized(BUILDER), authorized(BUILDER),
controller.executeAction controller.executeAction
) )
.delete( .delete(
"/api/:instanceId/workflows/:id", "/api/:instanceId/workflows/:id/:rev",
authorized(BUILDER), authorized(BUILDER),
controller.destroy controller.destroy
) )