mirror of
https://github.com/grpc/grpc-node.git
synced 2025-12-08 18:23:54 +00:00
lefix
This commit is contained in:
parent
1b57e54e68
commit
b17d034e39
@ -940,9 +940,11 @@ exports.makeClientConstructor = function(methods, serviceName,
|
||||
}
|
||||
var method_type = common.getMethodType(attrs);
|
||||
var method_func = function() {
|
||||
return requester_funcs[method_type].apply(this, arguments.concat([
|
||||
attrs.path, attrs.requestSerialize, attrs.responseDeserialize
|
||||
]));
|
||||
return requester_funcs[method_type].apply(this,
|
||||
[].slice.call(arguments).concat([
|
||||
attrs.path, attrs.requestSerialize, attrs.responseDeserialize
|
||||
])
|
||||
);
|
||||
};
|
||||
if (class_options.deprecatedArgumentOrder) {
|
||||
ServiceClient.prototype[name] =
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user