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, componentRoutes,
workflowRoutes, workflowRoutes,
accesslevelRoutes, accesslevelRoutes,
apiKeysRoutes apiKeysRoutes,
} = require("./routes") } = require("./routes")
const router = new Router() const router = new Router()

View File

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

View File

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