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,