mirror of https://github.com/grpc/grpc-node.git
Merge pull request #2819 from orwoods/master
Fixed generation of grpc services
This commit is contained in:
commit
912beea1d9
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue