We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73c1cf3 commit 733560dCopy full SHA for 733560d
1 file changed
packages/microservices/client/client-grpc.ts
@@ -85,11 +85,11 @@ export class ClientGrpcProxy extends ClientProxy implements ClientGrpc {
85
const credentials =
86
options.credentials || grpcPackage.credentials.createInsecure();
87
88
- const { credentials: originalCreds, ...clientOptions } = options;
+ delete options.credentials;
89
const grpcClient = new this.grpcClient[name](
90
this.url,
91
credentials,
92
- clientOptions,
+ options,
93
);
94
this.clients.set(name, grpcClient);
95
return grpcClient;
0 commit comments