Skip to content

Commit cc5d954

Browse files
committed
fix(credentials): Pass empty object to enable insecure connections
1 parent afbf487 commit cc5d954

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)