Skip to content

Commit

Permalink
Merge branch 'dev-test'
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Selva committed Sep 30, 2024
2 parents 6b8849f + b68446a commit 6e812d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion passerelle_imio_ia_tech/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ def read_reservation_room(self, request, id):

response.raise_for_status()

return response.json() # must return dict
return {"data": response.json()} # must return dict

@endpoint(
name="get-reservation-room-detail",
Expand Down

0 comments on commit 6e812d7

Please sign in to comment.