Skip to content

Commit

Permalink
Rename async search params
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasolson committed Mar 27, 2020
1 parent 3431697 commit 248ae37
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function asyncSearch(
const path = request.id ? `_async_search/${request.id}` : `${index}/_async_search`;

// Wait up to 1s for the response to return
const query = toSnakeCase({ waitForCompletion: '1s', ...params });
const query = toSnakeCase({ waitForCompletionTimeout: '1s', ...params });

return caller('transport.request', { method, path, body, query }, options);
}
Expand Down

0 comments on commit 248ae37

Please sign in to comment.