Searching: Remove some redundant undefined function arguments.

pull/21833/head
Damir Jelić 2020-06-10 11:45:32 +02:00
parent 67cad2807b
commit 398655f1a9
1 changed files with 2 additions and 2 deletions

View File

@ -84,8 +84,8 @@ async function combinedSearch(searchTerm) {
// Create two promises, one for the local search, one for the
// server-side search.
const serverSidePromise = serverSideSearch(searchTerm, undefined);
const localPromise = localSearch(searchTerm, undefined);
const serverSidePromise = serverSideSearch(searchTerm);
const localPromise = localSearch(searchTerm);
// Wait for both promises to resolve.
await Promise.all([serverSidePromise, localPromise]);