From 6b9a2230948ae06e8c13a6c743bda9b7eff5b80b Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Thu, 6 May 2021 12:09:35 +0100 Subject: [PATCH] update scoped config imports --- packages/worker/src/api/controllers/admin/configs.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/worker/src/api/controllers/admin/configs.js b/packages/worker/src/api/controllers/admin/configs.js index 4944037676..a8847e8075 100644 --- a/packages/worker/src/api/controllers/admin/configs.js +++ b/packages/worker/src/api/controllers/admin/configs.js @@ -3,7 +3,6 @@ const { generateConfigID, StaticDatabases, getConfigParams, - determineScopedConfig, getGlobalUserParams, getScopedFullConfig, } = require("@budibase/auth").db @@ -123,7 +122,7 @@ exports.configChecklist = async function (ctx) { const appDbNames = allDbs.filter(dbName => dbName.startsWith(APP_PREFIX)) // They have set up SMTP - const smtpConfig = await determineScopedConfig(db, { + const smtpConfig = await getScopedFullConfig(db, { type: Configs.SMTP, })