This commit is contained in:
Martin McKeaveney 2021-09-27 16:39:08 +01:00
parent 9bbb230aa6
commit 0692263960
1 changed files with 1 additions and 2 deletions

View File

@ -25,9 +25,8 @@ router
"/api/views/:viewName", "/api/views/:viewName",
paramResource("viewName"), paramResource("viewName"),
authorized(BUILDER), authorized(BUILDER),
usage,
viewController.destroy viewController.destroy
) )
.post("/api/views", authorized(BUILDER), usage, viewController.save) .post("/api/views", authorized(BUILDER), viewController.save)
module.exports = router module.exports = router