Prepare for room v3+, misc bugfixes
This commit is contained in:
@@ -44,7 +44,7 @@ async def validate_json():
|
||||
|
||||
try:
|
||||
request.get_json(force=True)
|
||||
except Exception as e:
|
||||
except Exception:
|
||||
return jsonify({"error": "Content not JSON.", "errcode": "M_NOT_JSON"}), 400
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user