Skip to content

Commit

Permalink
Merge pull request #167 from mgagliardo91/fix-insecure-creds
Browse files Browse the repository at this point in the history
fix(credentials): Pass empty object to enable insecure connections
  • Loading branch information
tstirrat15 authored Oct 15, 2024
2 parents 5834304 + d04d30c commit d0de835
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ class KnownInsecureChannelCredentialsImpl extends grpc.ChannelCredentials {
return new ComposedChannelCredentials(this, combinedCallCredentials);
}

_getConnectionOptions(): ConnectionOptions | null {
return null;
_getConnectionOptions(): ConnectionOptions {
return {};
}
_isSecure(): boolean {
return false;
Expand Down

0 comments on commit d0de835

Please sign in to comment.