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