We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2c362f commit b837306Copy full SHA for b837306
src/service.ts
@@ -49,7 +49,7 @@ class Service {
49
}
50
51
if(config.environment === "LIVE") {
52
- if(config.liveEndpointUrlPrefix === undefined || config.liveEndpointUrlPrefix === "") {
+ if(!config?.liveEndpointUrlPrefix) {
53
throw new Error("Live endpoint URL prefix must be provided for LIVE environment.");
54
55
0 commit comments