removed auth on execute workflow action

This commit is contained in:
Michael Shanks 2020-05-28 09:17:14 +01:00
parent b3cd17b9a3
commit 5894feaaff
1 changed files with 1 additions and 5 deletions

View File

@ -15,11 +15,7 @@ router
)
.put("/api/:instanceId/workflows", authorized(BUILDER), controller.update)
.post("/api/:instanceId/workflows", authorized(BUILDER), controller.create)
.post(
"/api/:instanceId/workflows/action",
authorized(EXECUTE_WORKFLOW),
controller.executeAction
)
.post("/api/:instanceId/workflows/action", controller.executeAction)
.delete(
"/api/:instanceId/workflows/:id/:rev",
authorized(BUILDER),