Skip to content

Commit

Permalink
Merge pull request #2819 from orwoods/master
Browse files Browse the repository at this point in the history
Fixed generation of grpc services
  • Loading branch information
murgatroid99 authored Oct 15, 2024
2 parents aec0c9b + 6a4e2db commit 912beea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/grpc-tools/src/node_generator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ void PrintService(const ServiceDescriptor* service, Printer* out,
if (!params.generate_package_definition) {
out->Print(template_vars,
"exports.$name$Client = "
"grpc.makeGenericClientConstructor($name$Service);\n");
"grpc.makeGenericClientConstructor($name$Service, '$name$');\n");
}
out->PrintRaw(GetNodeComments(service, false).c_str());
}
Expand Down

0 comments on commit 912beea

Please sign in to comment.