Skip to content

Commit

Permalink
fix: updated client auto-connect
Browse files Browse the repository at this point in the history
  • Loading branch information
jbristowe committed Jul 17, 2022
1 parent af54f41 commit 1b72b0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clientConfiguration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export function processConfiguration(configuration?: ClientConfiguration): Clien
return {
apiKey: !configuration.apiKey || configuration.apiKey.length === 0 ? apiKey : configuration.apiKey,
apiUri: !configuration.apiUri || configuration.apiUri.length === 0 ? host : configuration.apiUri,
autoConnect: !configuration.autoConnect ? true : configuration.autoConnect,
autoConnect: configuration.autoConnect === undefined ? true : configuration.autoConnect,
space: !configuration.space || configuration.space.length === 0 ? space : configuration.space,
};
}

0 comments on commit 1b72b0e

Please sign in to comment.