lint fixes
This commit is contained in:
parent
4112968942
commit
c18bcc5499
|
@ -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()
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -27,5 +27,5 @@ module.exports = {
|
||||||
componentRoutes,
|
componentRoutes,
|
||||||
workflowRoutes,
|
workflowRoutes,
|
||||||
accesslevelRoutes,
|
accesslevelRoutes,
|
||||||
apiKeysRoutes
|
apiKeysRoutes,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue