From 9fb5e973300f36760b8428770db35fa694715dce Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Thu, 27 May 2021 14:55:48 +0100 Subject: [PATCH] Linting. --- packages/server/src/api/routes/analytics.js | 2 -- packages/server/src/middleware/currentapp.js | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/server/src/api/routes/analytics.js b/packages/server/src/api/routes/analytics.js index f8e9c8c8e7..781a959acb 100644 --- a/packages/server/src/api/routes/analytics.js +++ b/packages/server/src/api/routes/analytics.js @@ -1,7 +1,5 @@ const Router = require("@koa/router") -const authorized = require("../../middleware/authorized") const controller = require("../controllers/analytics") -const { BUILDER } = require("@budibase/auth/permissions") const router = Router() diff --git a/packages/server/src/middleware/currentapp.js b/packages/server/src/middleware/currentapp.js index d3c72fe83a..ae83da8ba6 100644 --- a/packages/server/src/middleware/currentapp.js +++ b/packages/server/src/middleware/currentapp.js @@ -1,7 +1,7 @@ const { getAppId, setCookie, getCookie } = require("@budibase/auth").utils const { Cookies } = require("@budibase/auth").constants const { getRole } = require("@budibase/auth/roles") -const { getGlobalUsers, getGlobalSelf } = require("../utilities/workerRequests") +const { getGlobalSelf } = require("../utilities/workerRequests") const { BUILTIN_ROLE_IDS } = require("@budibase/auth/roles") const { generateUserMetadataID } = require("../db/utils")