From edbef7ec97e88fbb0ca080779bb33227fe8b8ac5 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Wed, 24 Feb 2021 13:55:48 +0000 Subject: [PATCH 1/2] Minor change, making sure each link is definitely unique by combining each of its three unique properties into a uniqueness hash, was missing one of the components. --- packages/server/src/db/linkedRows/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/db/linkedRows/index.js b/packages/server/src/db/linkedRows/index.js index aa795284cb..f60c4c7f26 100644 --- a/packages/server/src/db/linkedRows/index.js +++ b/packages/server/src/db/linkedRows/index.js @@ -51,7 +51,7 @@ async function getLinksForRows(appId, rows) { return getUniqueByProp( responses // create a unique ID which we can use for getting only unique ones - .map(el => ({ ...el, unique: el.id + el.fieldName })), + .map(el => ({ ...el, unique: el.id + el.thisId + el.fieldName })), "unique" ) } From 5807143429f836d012d52c8913749aa6e65b4e40 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Wed, 24 Feb 2021 14:03:10 +0000 Subject: [PATCH 2/2] Formatting. --- .../src/components/automation/Shared/WebhookDisplay.svelte | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/builder/src/components/automation/Shared/WebhookDisplay.svelte b/packages/builder/src/components/automation/Shared/WebhookDisplay.svelte index 18fff8153d..dc908a9571 100644 --- a/packages/builder/src/components/automation/Shared/WebhookDisplay.svelte +++ b/packages/builder/src/components/automation/Shared/WebhookDisplay.svelte @@ -13,7 +13,6 @@ if (production) { return `${appUrl}/${uri}` } else { - return `${window.location.origin}/${uri}` } }