lint fixes

This commit is contained in:
kevmodrome 2020-07-06 09:07:29 +02:00
parent b729527192
commit 2a13abba4d
No known key found for this signature in database
GPG Key ID: E8F9CD141E63BF38
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,
}