Skip to content

Commit

Permalink
fix env var for test purpose
Browse files Browse the repository at this point in the history
  • Loading branch information
AleDore committed Sep 24, 2024
1 parent 7c2ed5f commit 30b0634
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 30b0634

Please sign in to comment.