From 4cfb01d7bf6e334f7b852cc499f0c5f14289d4a5 Mon Sep 17 00:00:00 2001
From: murgatroid99 <mlumish@google.com>
Date: Wed, 13 Jan 2016 10:05:00 -0800
Subject: [PATCH] Don't modify proto method names in service paths in Node
 library

---
 src/node/src/common.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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