aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar murgatroid99 <mlumish@google.com>2016-01-13 10:05:00 -0800
committerGravatar murgatroid99 <mlumish@google.com>2016-01-13 10:05:00 -0800
commit4cfb01d7bf6e334f7b852cc499f0c5f14289d4a5 (patch)
tree8cf2f39f32368723ec635184ea9e5bd93f70bfdd /src
parent7149ca6bd0ce73a08fa512415d3f641a06a15a75 (diff)
Don't modify proto method names in service paths in Node library
Diffstat (limited to 'src')
-rw-r--r--src/node/src/common.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node/src/common.js b/src/node/src/common.js
index e4fe5a8e03..19336ab840 100644
--- a/src/node/src/common.js
+++ b/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()),