From cbc22306cde62265d400b318d604c7ca218ac5fb Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Mon, 13 Jul 2020 19:44:42 +0100 Subject: [PATCH] lint --- packages/builder/rollup.config.js | 2 +- packages/builder/src/builderStore/index.js | 2 +- packages/builder/src/components/settings/tabs/APIKeys.svelte | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/builder/rollup.config.js b/packages/builder/rollup.config.js index 347cd82ffd..d48869bace 100644 --- a/packages/builder/rollup.config.js +++ b/packages/builder/rollup.config.js @@ -181,7 +181,7 @@ export default { production ? "production" : "development" ), "process.env.POSTHOG_TOKEN": JSON.stringify(process.env.POSTHOG_TOKEN), - "process.env.POSTHOG_URL": JSON.stringify(process.env.POSTHOG_URL) + "process.env.POSTHOG_URL": JSON.stringify(process.env.POSTHOG_URL), }), svelte({ diff --git a/packages/builder/src/builderStore/index.js b/packages/builder/src/builderStore/index.js index 0feb0c7aa3..159733baab 100644 --- a/packages/builder/src/builderStore/index.js +++ b/packages/builder/src/builderStore/index.js @@ -11,7 +11,7 @@ export const initialise = async () => { try { if (process.env.NODE_ENV === "production") { posthog.init(process.env.POSTHOG_TOKEN, { - api_host: process.env.POSTHOG_URL + api_host: process.env.POSTHOG_URL, }) } } catch (err) { diff --git a/packages/builder/src/components/settings/tabs/APIKeys.svelte b/packages/builder/src/components/settings/tabs/APIKeys.svelte index cfb1ff67e4..508eeb3696 100644 --- a/packages/builder/src/components/settings/tabs/APIKeys.svelte +++ b/packages/builder/src/components/settings/tabs/APIKeys.svelte @@ -9,7 +9,7 @@ async function updateKey([key, value]) { const response = await api.put(`/api/keys/${key}`, { value }) const res = await response.json() - if (key === "budibase") posthog.identify(value); + if (key === "budibase") posthog.identify(value) keys = { ...keys, ...res } }