From 5f997ab8361388211daed75f6008c9d13bdb2272 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Fri, 6 Aug 2021 16:39:30 +0100 Subject: [PATCH] Linting. --- packages/auth/src/db/utils.js | 4 +--- packages/worker/src/api/controllers/admin/configs.js | 2 -- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/auth/src/db/utils.js b/packages/auth/src/db/utils.js index ae1609c2cb..1fc78f4182 100644 --- a/packages/auth/src/db/utils.js +++ b/packages/auth/src/db/utils.js @@ -185,9 +185,7 @@ exports.getAllDbs = async () => { */ exports.getAllApps = async ({ CouchDB, dev, all } = {}) => { let dbs = await exports.getAllDbs() - const appDbNames = dbs.filter(dbName => - dbName.startsWith(exports.APP_PREFIX) - ) + const appDbNames = dbs.filter(dbName => dbName.startsWith(exports.APP_PREFIX)) const appPromises = appDbNames.map(db => // skip setup otherwise databases could be re-created new CouchDB(db, { skip_setup: true }).get(DocumentTypes.APP_METADATA) diff --git a/packages/worker/src/api/controllers/admin/configs.js b/packages/worker/src/api/controllers/admin/configs.js index 956a9e012b..0b90d8fb5a 100644 --- a/packages/worker/src/api/controllers/admin/configs.js +++ b/packages/worker/src/api/controllers/admin/configs.js @@ -10,8 +10,6 @@ const { const { Configs } = require("../../../constants") const email = require("../../../utilities/email") const { upload, ObjectStoreBuckets } = require("@budibase/auth").objectStore -const fetch = require("node-fetch") -const env = require("../../../environment") const APP_PREFIX = "app_"