aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gn3/api/llm.py2
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", "")