diff --git a/pms_api_rest/services/pms_reservation_service.py b/pms_api_rest/services/pms_reservation_service.py index 081c7bbd0..7aa7f3764 100644 --- a/pms_api_rest/services/pms_reservation_service.py +++ b/pms_api_rest/services/pms_reservation_service.py @@ -120,7 +120,7 @@ class PmsReservationService(Component): [ ( [ - "/", + "/p/", ], "PATCH", ) @@ -128,6 +128,7 @@ class PmsReservationService(Component): input_param=Datamodel("pms.reservation.info", is_list=False), auth="jwt_api_pms", ) + # TODO: route changed because bug route CORS patch def update_reservation(self, reservation_id, reservation_data): reservation = self.env["pms.reservation"].search([("id", "=", reservation_id)]) reservation_vals = {}