fix(microservices): enable grpc option value to accept 0

This commit is contained in:
Jacky Wijaya
2020-05-17 22:06:57 +07:00
parent baadb3f925
commit d562bc0225

View File

@@ -125,7 +125,7 @@ export class ClientGrpcProxy extends ClientProxy implements ClientGrpc {
this.options.keepalive,
)) {
const key = keepaliveKeys[optionKey];
if (!key) {
if (key === undefined) {
continue;
}
keepaliveOptions[key] = optionValue;