From 30b06347a179a9bb9315b24ca9d7d18debb14b83 Mon Sep 17 00:00:00 2001 From: AleDore Date: Tue, 24 Sep 2024 10:11:59 +0200 Subject: [PATCH] fix env var for test purpose --- .env.example | 6 +++--- src/config.ts | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.env.example b/.env.example index 3e29346d6..94f4358d2 100644 --- a/.env.example +++ b/.env.example @@ -150,9 +150,9 @@ SERVICES_APP_BACKEND_API_BASE_PATH="/api/v1" # TRIAL SYSTEM # ------------------------------------ FF_TRIAL_SYSTEM_ENABLED="1" -TRIAL_SYSTEM_API_BASE_PATH="/api/v1" -TRIAL_SYSTEM_API_URL="https://trial-system" -TRIAL_SYSTEM_API_KEY="put_your_api_key_here" +TRIAL_SYSTEM_APIM_BASE_PATH="/api/v1" +TRIAL_SYSTEM_APIM_URL="https://trial-system" +TRIAL_SYSTEM_APIM_KEY="put_your_api_key_here" # ------------------------------------ # IO_WALLET diff --git a/src/config.ts b/src/config.ts index 7a54b8342..11b244881 100644 --- a/src/config.ts +++ b/src/config.ts @@ -634,10 +634,10 @@ export const FF_TRIAL_SYSTEM_ENABLED = process.env.FF_TRIAL_SYSTEM_ENABLED === "1"; export const TRIAL_SYSTEM_API_BASE_PATH = getRequiredENVVar( - "TRIAL_SYSTEM_API_BASE_PATH" + "TRIAL_SYSTEM_APIM_BASE_PATH" ); export const TRIAL_SYSTEM_API_KEY = getRequiredENVVar("TRIAL_SYSTEM_APIM_KEY"); -export const TRIAL_SYSTEM_API_URL = getRequiredENVVar("TRIAL_SYSTEM_API_URL"); +export const TRIAL_SYSTEM_API_URL = getRequiredENVVar("TRIAL_SYSTEM_APIM_URL"); export const TRIAL_SYSTEM_CLIENT = TrialSystemAPIClient( TRIAL_SYSTEM_API_KEY,