mirror of https://github.com/grpc/grpc-node.git
Update client.js
This commit is contained in:
parent
b17d034e39
commit
fe3c71b350
|
|
@ -940,10 +940,9 @@ exports.makeClientConstructor = function(methods, serviceName,
|
|||
}
|
||||
var method_type = common.getMethodType(attrs);
|
||||
var method_func = function() {
|
||||
return requester_funcs[method_type].apply(this,
|
||||
[].slice.call(arguments).concat([
|
||||
attrs.path, attrs.requestSerialize, attrs.responseDeserialize
|
||||
])
|
||||
return requester_funcs[method_type].apply(this,
|
||||
[ attrs.path, attrs.requestSerialize, attrs.responseDeserialize ]
|
||||
.concat([].slice.call(arguments))
|
||||
);
|
||||
};
|
||||
if (class_options.deprecatedArgumentOrder) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue