mirror of
https://github.com/grpc/grpc-node.git
synced 2025-12-08 18:23:54 +00:00
bug: set host will always undefined
This commit is contained in:
parent
a4553f1a69
commit
2c5fe2dbc3
@ -377,7 +377,7 @@ NAN_METHOD(Channel::CreateCall) {
|
||||
if (info[2]->IsString()) {
|
||||
grpc_slice *host = new grpc_slice;
|
||||
*host =
|
||||
CreateSliceFromString(Nan::To<String>(info[3]).ToLocalChecked());
|
||||
CreateSliceFromString(Nan::To<String>(info[2]).ToLocalChecked());
|
||||
wrapped_call = grpc_channel_create_call(
|
||||
wrapped_channel, parent_call, propagate_flags, GetCompletionQueue(),
|
||||
method, host, MillisecondsToTimespec(deadline), NULL);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user