From 398655f1a9bdc180d9b22931b8e32d7512964af7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Wed, 10 Jun 2020 11:45:32 +0200 Subject: [PATCH] Searching: Remove some redundant undefined function arguments. --- src/Searching.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Searching.js b/src/Searching.js index 0cbedf2305..5fe89f8199 100644 --- a/src/Searching.js +++ b/src/Searching.js @@ -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]);