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: