Skip to content

Commit

Permalink
chore: fix length
Browse files Browse the repository at this point in the history
  • Loading branch information
xernobyl committed Dec 22, 2023
1 parent 0a6b50c commit 9f2a3ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ export class StreamClient<StreamFeedGenerics extends DefaultGenerics = DefaultGe
this.expireTokens = this.options.expireTokens ? this.options.expireTokens : false;
// which data center to use
const location = this.options.location as string;
if (location !== null && location.length > 0) {
if (location) {
this.location = location;
}
this.baseUrl = this.getBaseUrl();
Expand Down

0 comments on commit 9f2a3ba

Please sign in to comment.