Skip to content

Commit

Permalink
Updated syntax error in example readme. (#536)
Browse files Browse the repository at this point in the history
  • Loading branch information
schafer14 authored and johanbrandhorst committed Aug 29, 2019
1 parent 33d1dbe commit d72a990
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/grpc-web/docs/unary.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ request.setAuthorPrefix("Geor");
const grpcRequest = grpc.unary(BookService.QueryBooks, {
host: "https://example.com:9100",
metadata: new grpc.Metadata({"HeaderTestKey1": "ClientValue1"}),
onEnd: (({status, statusMessage, headers, message, trailers: string, trailers: grpc.Metadata}) => {
onEnd: ({status, statusMessage, headers, message, trailers: string, trailers: grpc.Metadata}) => {
console.log("onEnd", status, statusMessage, headers, message, trailers);
},
request,
Expand Down

0 comments on commit d72a990

Please sign in to comment.