Skip to content

Commit

Permalink
fix(grpc-handler): typo in switch-case for clientStream
Browse files Browse the repository at this point in the history
- in order to support `clientStream` case
- fix `Cannot read properties of undefined (reading 'pipe')`
  • Loading branch information
PhilippeMorier committed Mar 24, 2022
1 parent 392d1a3 commit 7c0cd96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/lib/grpc-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export class GrpcHandler {
request.requestClass,
request.responseClass,
);
case GrpcCallType.clientStream: return request.client.bidiStream(
case GrpcCallType.bidiStream: return request.client.bidiStream(
request.path,
this.stream(request.requestData),
request.requestMetadata,
Expand Down

0 comments on commit 7c0cd96

Please sign in to comment.