From 1773a783398ea24ba10cda47de722da183171b98 Mon Sep 17 00:00:00 2001 From: Debanjum Singh Solanky Date: Wed, 28 Jun 2023 12:10:45 -0700 Subject: [PATCH] Fix createRequestUrl method signature to fetch results from khoj web --- src/khoj/interface/web/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/khoj/interface/web/index.html b/src/khoj/interface/web/index.html index e24ad33c..2adfeda2 100644 --- a/src/khoj/interface/web/index.html +++ b/src/khoj/interface/web/index.html @@ -172,7 +172,7 @@ }); } - function createRequestUrl(query, results_count, type, rerank) { + function createRequestUrl(query, type, results_count, rerank) { // Generate Backend API URL to execute Search let url = `/api/search?q=${encodeURIComponent(query)}&n=${results_count}&client=web`; // If type is not 'all', append type to URL