Skip to content

Commit

Permalink
Fixed generation of grpc services
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanya P committed Sep 5, 2024
1 parent 7e4c8f0 commit 4f9e34a
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 4f9e34a

Please sign in to comment.