lint fixes

This commit is contained in:
kevmodrome 2020-07-06 09:07:29 +02:00
parent 4112968942
commit c18bcc5499
3 changed files with 4 additions and 4 deletions

View File

@ -17,7 +17,7 @@ const {
componentRoutes,
workflowRoutes,
accesslevelRoutes,
apiKeysRoutes
apiKeysRoutes,
} = require("./routes")
const router = new Router()

View File

@ -6,7 +6,7 @@ const { BUILDER } = require("../../utilities/accessLevels")
const router = Router()
router
.get("/api/keys", authorized(BUILDER), controller.fetch)
.put("/api/keys/:key", authorized(BUILDER), controller.update)
.get("/api/keys", authorized(BUILDER), controller.fetch)
.put("/api/keys/:key", authorized(BUILDER), controller.update)
module.exports = router

View File

@ -27,5 +27,5 @@ module.exports = {
componentRoutes,
workflowRoutes,
accesslevelRoutes,
apiKeysRoutes
apiKeysRoutes,
}