From ccd855fb5add8e92e22418a84ed5eccedf239a6f Mon Sep 17 00:00:00 2001 From: Michael Lumish Date: Mon, 29 Aug 2022 18:18:53 -0700 Subject: [PATCH] grpc-js: Fix typo in previous status message handling fix --- packages/grpc-js/package.json | 2 +- packages/grpc-js/src/call-stream.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/grpc-js/package.json b/packages/grpc-js/package.json index dab77169..8ca6eb1c 100644 --- a/packages/grpc-js/package.json +++ b/packages/grpc-js/package.json @@ -1,6 +1,6 @@ { "name": "@grpc/grpc-js", - "version": "1.6.11", + "version": "1.6.12", "description": "gRPC Library for Node - pure JS implementation", "homepage": "https://grpc.io/", "repository": "https://github.com/grpc/grpc-node/tree/master/packages/grpc-js", diff --git a/packages/grpc-js/src/call-stream.ts b/packages/grpc-js/src/call-stream.ts index 0bb4d01c..d7151eb6 100644 --- a/packages/grpc-js/src/call-stream.ts +++ b/packages/grpc-js/src/call-stream.ts @@ -491,7 +491,7 @@ export class Http2CallStream implements Call { try { details = decodeURI(metadataMap['grpc-message']); } catch (e) { - details = metadataMap['grpc-messages'] as string; + details = metadataMap['grpc-message']; } metadata.remove('grpc-message'); this.trace(