From 45976313ab609b544b8d0ffbf2578cf6a32c1f51 Mon Sep 17 00:00:00 2001 From: Sam Rose Date: Wed, 6 Nov 2024 10:46:00 +0000 Subject: [PATCH] Fix build. --- packages/worker/src/api/controllers/system/environment.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/worker/src/api/controllers/system/environment.ts b/packages/worker/src/api/controllers/system/environment.ts index 1a1308beec..48ab2b586f 100644 --- a/packages/worker/src/api/controllers/system/environment.ts +++ b/packages/worker/src/api/controllers/system/environment.ts @@ -2,7 +2,7 @@ import { Ctx, MaintenanceType, FeatureFlag } from "@budibase/types" import env from "../../../environment" import { env as coreEnv, db as dbCore, features } from "@budibase/backend-core" import nodeFetch from "node-fetch" -import { retry } from "../../../../../shared-core/src/helpers" +import { helpers } from "@budibase/shared-core" let sqsAvailable: boolean async function isSqsAvailable() { @@ -18,7 +18,7 @@ async function isSqsAvailable() { sqsAvailable = false return false } - await retry( + await helpers.retry( async () => { await nodeFetch(url, { timeout: 2000 }) },