From 5e6e3cd123176f0fe3fb57573e3e1a036d654ab1 Mon Sep 17 00:00:00 2001 From: Rory Powell Date: Mon, 4 Oct 2021 11:30:59 +0100 Subject: [PATCH] Fix email link from internal bb onboarding. Prevent account holder from being deleted --- .../automation/Shared/WebhookDisplay.svelte | 12 ++-------- .../components/upgrade/UpgradeModal.svelte | 4 ++-- .../portal/manage/users/[userId].svelte | 4 ++-- packages/builder/src/stores/portal/users.js | 6 ++++- packages/server/package.json | 4 +++- packages/server/scripts/localdomain.js | 22 +++++++++++++++++++ packages/worker/scripts/dev/manage.js | 1 + packages/worker/scripts/localdomain.js | 2 ++ .../src/api/controllers/global/users.js | 12 ++++++++++ packages/worker/src/environment.js | 1 + packages/worker/src/utilities/templates.js | 4 +--- 11 files changed, 53 insertions(+), 19 deletions(-) create mode 100644 packages/server/scripts/localdomain.js diff --git a/packages/builder/src/components/automation/Shared/WebhookDisplay.svelte b/packages/builder/src/components/automation/Shared/WebhookDisplay.svelte index fc5e20f241..857640896c 100644 --- a/packages/builder/src/components/automation/Shared/WebhookDisplay.svelte +++ b/packages/builder/src/components/automation/Shared/WebhookDisplay.svelte @@ -1,22 +1,14 @@