Merge pull request #2216 from murgatroid99/grpc-js_status_fix_fix

grpc-js: Fix typo in previous status message handling fix
This commit is contained in:
Michael Lumish 2022-08-31 10:16:02 -07:00 committed by GitHub
commit ea1f2b3777
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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(