improved register endpoint, etc.

This commit is contained in:
Tobias Kurze
2020-08-05 16:36:14 +02:00
parent 16e4231807
commit 82b3e78488
5 changed files with 31 additions and 17 deletions

View File

@@ -128,4 +128,4 @@ class RoomList(Resource):
return str(e.detail), 400
except LrcException as e:
logger.error(e)
return api_room.abort(400, str(e))
return api_room.abort(400, message=str(e))