From c18bcc5499efafae501a565b93fb76ff3cdb1aa5 Mon Sep 17 00:00:00 2001 From: kevmodrome Date: Mon, 6 Jul 2020 09:07:29 +0200 Subject: [PATCH] lint fixes --- packages/server/src/api/index.js | 2 +- packages/server/src/api/routes/apikeys.js | 4 ++-- packages/server/src/api/routes/index.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) 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, }