diff options
author | John Nduli | 2024-09-12 15:06:33 +0300 |
---|---|---|
committer | BonfaceKilz | 2024-09-12 18:34:56 +0300 |
commit | 51109f6dd78ea9d1b40ca97024a70e44e108b769 (patch) | |
tree | b6a883c6212f68e1f4b5ccff39853c47b3876be6 | |
parent | 29c5f303bb30ec10803c15a5ebc98054e0f56c35 (diff) | |
download | genenetwork2-51109f6dd78ea9d1b40ca97024a70e44e108b769.tar.gz |
fix: change request for search to get
-rw-r--r-- | gn2/wqflask/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gn2/wqflask/views.py b/gn2/wqflask/views.py index f723958a..a63eacb0 100644 --- a/gn2/wqflask/views.py +++ b/gn2/wqflask/views.py @@ -299,7 +299,7 @@ def gnqna(): if query_type == "xapian": query = clean_xapian_query(query) safe_query = urllib.parse.urlencode({"query": query}) - search_result = requests.put( + search_result = requests.get( urljoin(GN3_LOCAL_URL, f"/api/llm/search?{safe_query}"), headers={"Authorization": f"Bearer {token}"}, ) |