diff options
Diffstat (limited to 'opendc/api/v2/rooms/roomId/tiles/endpoint.py')
| -rw-r--r-- | opendc/api/v2/rooms/roomId/tiles/endpoint.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/opendc/api/v2/rooms/roomId/tiles/endpoint.py b/opendc/api/v2/rooms/roomId/tiles/endpoint.py index 6e498a48..971514ec 100644 --- a/opendc/api/v2/rooms/roomId/tiles/endpoint.py +++ b/opendc/api/v2/rooms/roomId/tiles/endpoint.py @@ -13,7 +13,7 @@ def GET(request): request.check_required_parameters(path={'roomId': 'int'}) except exceptions.ParameterError as e: - return Response(400, e.message) + return Response(400, str(e)) # Instantiate a Room from the database @@ -53,7 +53,7 @@ def POST(request): }}) except exceptions.ParameterError as e: - return Response(400, e.message) + return Response(400, str(e)) if request.params_path['roomId'] != request.params_body['tile']['roomId']: return Response(400, 'ID mismatch') |
