Skip to content

Commit

Permalink
added return for live and test prefix (#1381)
Browse files Browse the repository at this point in the history
  • Loading branch information
DjoykeAbyah authored Aug 15, 2024
1 parent 9d35a2e commit a4df4c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class Service {
const config: Config = this.client.config;

if (config.environment !== "LIVE") {
return url;
return url.replace("-live", "-test");
}

if (url.includes("pal-")) {
Expand Down

0 comments on commit a4df4c0

Please sign in to comment.