Removing admin middleware applying to everything.

This commit is contained in:
mike12345567 2021-05-19 13:22:05 +01:00
parent db3497c83a
commit c2cd365e76
1 changed files with 0 additions and 2 deletions

View File

@ -77,8 +77,6 @@ function buildConfigGetValidation() {
}).unknown(true).required())
}
router.use(adminOnly)
router
.post("/api/admin/configs", buildConfigSaveValidation(), controller.save)
.delete("/api/admin/configs/:id", controller.destroy)