From 24012c2fba7836bfe3cb0f5dc87a2b96c5708c11 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Thu, 22 Jul 2021 16:37:50 +0100 Subject: [PATCH] Linting. --- packages/worker/src/api/controllers/global/flags.js | 2 +- packages/worker/src/api/routes/global/auth.js | 5 +---- packages/worker/src/api/routes/global/flags.js | 5 ++--- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/packages/worker/src/api/controllers/global/flags.js b/packages/worker/src/api/controllers/global/flags.js index 26e998e663..fdfc49afad 100644 --- a/packages/worker/src/api/controllers/global/flags.js +++ b/packages/worker/src/api/controllers/global/flags.js @@ -4,4 +4,4 @@ exports.fetch = async ctx => { ctx.body = { multiTenancy: !!env.MULTI_TENANCY, } -} \ No newline at end of file +} diff --git a/packages/worker/src/api/routes/global/auth.js b/packages/worker/src/api/routes/global/auth.js index 19a61df2e3..1546cb1c0a 100644 --- a/packages/worker/src/api/routes/global/auth.js +++ b/packages/worker/src/api/routes/global/auth.js @@ -55,10 +55,7 @@ router // deprecated - used by the default system before tenancy .get("/api/global/auth/google", authController.googlePreAuth) .get("/api/global/auth/google/callback", authController.googleAuth) - .get( - "/api/global/auth/oidc/configs/:configId", - authController.oidcPreAuth - ) + .get("/api/global/auth/oidc/configs/:configId", authController.oidcPreAuth) .get("/api/global/auth/oidc/callback", authController.oidcAuth) module.exports = router diff --git a/packages/worker/src/api/routes/global/flags.js b/packages/worker/src/api/routes/global/flags.js index 5f63455db9..a1367f4a82 100644 --- a/packages/worker/src/api/routes/global/flags.js +++ b/packages/worker/src/api/routes/global/flags.js @@ -3,7 +3,6 @@ const controller = require("../../controllers/global/flags") const router = Router() -router - .get("/api/global/flags", controller.fetch) +router.get("/api/global/flags", controller.fetch) -module.exports = router \ No newline at end of file +module.exports = router