diff options
author | Alexander_Kabui | 2024-09-12 12:44:41 +0300 |
---|---|---|
committer | Alexander_Kabui | 2024-09-12 12:44:41 +0300 |
commit | 090e5e0c41db2068d7e55684e320b287adc34bab (patch) | |
tree | a16499fc905ec302d28fa3bfb695e38a34921695 /gn3/api | |
parent | e8826ef0cc76acabbb83f34fa68a8f640905c6ea (diff) | |
download | genenetwork3-090e5e0c41db2068d7e55684e320b287adc34bab.tar.gz |
Make the gnqa search endpoint a get request.
Diffstat (limited to 'gn3/api')
-rw-r--r-- | gn3/api/llm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/api/llm.py b/gn3/api/llm.py index 358ef77..e23429e 100644 --- a/gn3/api/llm.py +++ b/gn3/api/llm.py @@ -16,7 +16,7 @@ from gn3.auth import db gnqa = Blueprint("gnqa", __name__) -@gnqa.route("/search", methods=["PUT"]) +@gnqa.route("/search", methods=["GET"]) def search(): """Api endpoint for searching queries in fahamu Api""" query = request.args.get("query", "") |