Skip to content
Snippets Groups Projects
Commit 4cfb01d7 authored by murgatroid99's avatar murgatroid99
Browse files

Don't modify proto method names in service paths in Node library

parent 7149ca6b
No related branches found
No related tags found
No related merge requests found
......@@ -125,7 +125,7 @@ exports.getProtobufServiceAttrs = function getProtobufServiceAttrs(service) {
var prefix = '/' + fullyQualifiedName(service) + '/';
return _.object(_.map(service.children, function(method) {
return [_.camelCase(method.name), {
path: prefix + _.capitalize(method.name),
path: prefix + method.name,
requestStream: method.requestStream,
responseStream: method.responseStream,
requestSerialize: serializeCls(method.resolvedRequestType.build()),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment