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

pull/4709/head
murgatroid99 9 years ago
parent 7149ca6bd0
commit 4cfb01d7bf
  1. 2
      src/node/src/common.js

@ -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()),

Loading…
Cancel
Save