mirror of https://github.com/grpc/grpc-node.git
refactor: drop usage of _.get
This commit is contained in:
parent
fd082c642d
commit
b3a78f59de
|
@ -646,7 +646,7 @@ function getCall(channel, path, options) {
|
|||
if (options) {
|
||||
deadline = options.deadline;
|
||||
host = options.host;
|
||||
parent = _.get(options, 'parent.call');
|
||||
parent = options.parent ? options.parent.call : undefined;
|
||||
propagate_flags = options.propagate_flags;
|
||||
credentials = options.credentials;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue