From ac5813a0de9da37426526e4a78601e9e79dc294e Mon Sep 17 00:00:00 2001 From: Kushal Dotel Date: Mon, 13 Jan 2025 07:11:34 +0545 Subject: [PATCH] Fix Backend --- backend/blueprints/chat/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/blueprints/chat/__init__.py b/backend/blueprints/chat/__init__.py index d49db7a..bddfb61 100644 --- a/backend/blueprints/chat/__init__.py +++ b/backend/blueprints/chat/__init__.py @@ -55,7 +55,7 @@ def create_chat(): except Exception as e: return jsonify({"error": f"An error occurred: {str(e)}"}), 500 -@chat.route("/get", methods=["GET"]) +@chat.route("/get", methods=["GET", "POST"]) @auth_required() def get_messages(): try: