grpc-js: Fix typo in previous status message handling fix

This commit is contained in:
Michael Lumish 2022-08-29 18:18:53 -07:00
parent 77950142ff
commit ccd855fb5a
2 changed files with 2 additions and 2 deletions

View File

@ -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",

View File

@ -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(