mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-07 15:08:24 +00:00
Searching: Remove some redundant undefined function arguments.
This commit is contained in:
+2
-2
@@ -84,8 +84,8 @@ async function combinedSearch(searchTerm) {
|
|||||||
|
|
||||||
// Create two promises, one for the local search, one for the
|
// Create two promises, one for the local search, one for the
|
||||||
// server-side search.
|
// server-side search.
|
||||||
const serverSidePromise = serverSideSearch(searchTerm, undefined);
|
const serverSidePromise = serverSideSearch(searchTerm);
|
||||||
const localPromise = localSearch(searchTerm, undefined);
|
const localPromise = localSearch(searchTerm);
|
||||||
|
|
||||||
// Wait for both promises to resolve.
|
// Wait for both promises to resolve.
|
||||||
await Promise.all([serverSidePromise, localPromise]);
|
await Promise.all([serverSidePromise, localPromise]);
|
||||||
|
|||||||
Reference in New Issue
Block a user