mirror of https://github.com/grpc/grpc-node.git
Merge pull request #445 from servel333/patch-1
properly pass `options` to `getDefaultValues`
This commit is contained in:
commit
803e854a4d
|
@ -764,7 +764,7 @@ var deprecated_request_wrap = {
|
|||
return function makeWrappedUnaryRequest(argument, callback,
|
||||
metadata, options) {
|
||||
/* jshint validthis: true */
|
||||
var opt_args = getDefaultValues(metadata, metadata);
|
||||
var opt_args = getDefaultValues(metadata, options);
|
||||
return makeUnaryRequest.call(this, argument, opt_args.metadata,
|
||||
opt_args.options, callback);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue