diff --git a/packages/server/src/api/index.js b/packages/server/src/api/index.js index 09849422da..911b8f7c66 100644 --- a/packages/server/src/api/index.js +++ b/packages/server/src/api/index.js @@ -17,7 +17,7 @@ const { componentRoutes, workflowRoutes, accesslevelRoutes, - apiKeysRoutes + apiKeysRoutes, } = require("./routes") const router = new Router() diff --git a/packages/server/src/api/routes/apikeys.js b/packages/server/src/api/routes/apikeys.js index 66e1cd2d68..bec9ab677c 100644 --- a/packages/server/src/api/routes/apikeys.js +++ b/packages/server/src/api/routes/apikeys.js @@ -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 diff --git a/packages/server/src/api/routes/index.js b/packages/server/src/api/routes/index.js index 2e8662242f..50a652b39e 100644 --- a/packages/server/src/api/routes/index.js +++ b/packages/server/src/api/routes/index.js @@ -27,5 +27,5 @@ module.exports = { componentRoutes, workflowRoutes, accesslevelRoutes, - apiKeysRoutes + apiKeysRoutes, }