From 735d9c447598ffaa5d6d5f92812ee7ab8a54ce36 Mon Sep 17 00:00:00 2001 From: Michael Shanks Date: Wed, 10 Jun 2020 21:41:55 +0100 Subject: [PATCH] lint fix --- packages/server/src/api/controllers/component.js | 1 - packages/server/src/api/controllers/instance.js | 1 - packages/server/src/api/controllers/user.js | 1 - 3 files changed, 3 deletions(-) diff --git a/packages/server/src/api/controllers/component.js b/packages/server/src/api/controllers/component.js index eedd3a8ceb..630b7c541b 100644 --- a/packages/server/src/api/controllers/component.js +++ b/packages/server/src/api/controllers/component.js @@ -5,7 +5,6 @@ const { budibaseTempDir, budibaseAppsDir, } = require("../../utilities/budibaseDir") -const env = require("../../environment") exports.fetchAppComponentDefinitions = async function(ctx) { const masterDb = new CouchDB("master") diff --git a/packages/server/src/api/controllers/instance.js b/packages/server/src/api/controllers/instance.js index d8f6a07888..5239b8de09 100644 --- a/packages/server/src/api/controllers/instance.js +++ b/packages/server/src/api/controllers/instance.js @@ -1,7 +1,6 @@ const CouchDB = require("../../db") const client = require("../../db/clientDb") const newid = require("../../db/newid") -const env = require("../../environment") exports.create = async function(ctx) { const instanceName = ctx.request.body.name diff --git a/packages/server/src/api/controllers/user.js b/packages/server/src/api/controllers/user.js index d529619843..d66f56903f 100644 --- a/packages/server/src/api/controllers/user.js +++ b/packages/server/src/api/controllers/user.js @@ -1,7 +1,6 @@ const CouchDB = require("../../db") const clientDb = require("../../db/clientDb") const bcrypt = require("../../utilities/bcrypt") -const env = require("../../environment") const getUserId = userName => `user_${userName}` const { POWERUSER_LEVEL_ID,