From 48f69ca89841058f837e056f505f408494b5adfa Mon Sep 17 00:00:00 2001 From: einhornimmond Date: Thu, 15 Feb 2024 19:33:27 +0100 Subject: [PATCH] Update backend/src/config/index.ts Co-authored-by: clauspeterhuebner <86960882+clauspeterhuebner@users.noreply.github.com> --- backend/src/config/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/config/index.ts b/backend/src/config/index.ts index efda3fc31..2555a1730 100644 --- a/backend/src/config/index.ts +++ b/backend/src/config/index.ts @@ -130,7 +130,7 @@ const federation = { FEDERATION_BACKEND_SEND_ON_API: process.env.FEDERATION_BACKEND_SEND_ON_API ?? '1_0', // ?? operator don't work here as expected FEDERATION_VALIDATE_COMMUNITY_TIMER: - Number(process.env.FEDERATION_VALIDATE_COMMUNITY_TIMER) || 60000, + Number(process.env.FEDERATION_VALIDATE_COMMUNITY_TIMER ?? 60000) , FEDERATION_XCOM_SENDCOINS_ENABLED: process.env.FEDERATION_XCOM_SENDCOINS_ENABLED === 'true' ?? false, // default value for community-uuid is equal uuid of stage-3