Browse Source

Linting.

pull/4023/head
mike12345567 5 years ago
parent
commit
24012c2fba
  1. 2
      packages/worker/src/api/controllers/global/flags.js
  2. 5
      packages/worker/src/api/routes/global/auth.js
  3. 5
      packages/worker/src/api/routes/global/flags.js

2
packages/worker/src/api/controllers/global/flags.js

@ -4,4 +4,4 @@ exports.fetch = async ctx => {
ctx.body = {
multiTenancy: !!env.MULTI_TENANCY,
}
}
}

5
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

5
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
module.exports = router

Loading…
Cancel
Save