Fix Backend

main
Kushal Dotel 6 months ago
parent 8d0ae7769a
commit ac5813a0de
  1. 2
      backend/blueprints/chat/__init__.py

@ -55,7 +55,7 @@ def create_chat():
except Exception as e: except Exception as e:
return jsonify({"error": f"An error occurred: {str(e)}"}), 500 return jsonify({"error": f"An error occurred: {str(e)}"}), 500
@chat.route("/get", methods=["GET"]) @chat.route("/get", methods=["GET", "POST"])
@auth_required() @auth_required()
def get_messages(): def get_messages():
try: try:

Loading…
Cancel
Save