Skip to content

Commit d0de835

Browse files
authored
Merge pull request #167 from mgagliardo91/fix-insecure-creds
fix(credentials): Pass empty object to enable insecure connections
2 parents 5834304 + d04d30c commit d0de835

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/util.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ class KnownInsecureChannelCredentialsImpl extends grpc.ChannelCredentials {
5454
return new ComposedChannelCredentials(this, combinedCallCredentials);
5555
}
5656

57-
_getConnectionOptions(): ConnectionOptions | null {
58-
return null;
57+
_getConnectionOptions(): ConnectionOptions {
58+
return {};
5959
}
6060
_isSecure(): boolean {
6161
return false;

0 commit comments

Comments
 (0)