From 82e43e0008bcb960151ada4af3961ba8cf768582 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Fri, 23 Jul 2021 17:26:54 +0100 Subject: [PATCH] Removing accidental symbols. --- packages/builder/src/pages/builder/index.svelte | 2 +- packages/worker/src/api/controllers/global/configs.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/builder/src/pages/builder/index.svelte b/packages/builder/src/pages/builder/index.svelte index 9638707169..fba581a046 100644 --- a/packages/builder/src/pages/builder/index.svelte +++ b/packages/builder/src/pages/builder/index.svelte @@ -8,7 +8,7 @@ if (!$auth.user) { $redirect(`./auth`) } else if ($auth.user.builder?.global) { - $redirect(`./portal}`) + $redirect(`./portal`) } else { $redirect(`./apps`) } diff --git a/packages/worker/src/api/controllers/global/configs.js b/packages/worker/src/api/controllers/global/configs.js index 7cd03c728a..b48de48fef 100644 --- a/packages/worker/src/api/controllers/global/configs.js +++ b/packages/worker/src/api/controllers/global/configs.js @@ -148,8 +148,8 @@ exports.publicSettings = async function (ctx) { // google button flag if (googleConfig && googleConfig.config) { // activated by default for configs pre-activated flag - config.config.google = googleConfig.config.activated == null || - googleConfig.config.activated + config.config.google = + googleConfig.config.activated == null || googleConfig.config.activated } else { config.config.google = false }