Fix cors issue and change to 200 to resolve dialog bug

This commit is contained in:
mitch ross
2021-05-12 10:52:02 -04:00
committed by Mitch Ross
parent 302803ab4f
commit 5de531f683
+1 -1
View File
@@ -203,7 +203,7 @@ def delete_event(id):
media.unlink(missing_ok=True)
event.delete_instance()
return make_response(jsonify({"success": True, "message": "Event" + id + " deleted"}),204)
return make_response(jsonify({"success": True, "message": "Event" + id + " deleted"}),200)