diff --git a/ch07/orders/orders_service/orders.py b/ch07/orders/orders_service/orders.py index 4784513..d42ed93 100644 --- a/ch07/orders/orders_service/orders.py +++ b/ch07/orders/orders_service/orders.py @@ -48,7 +48,7 @@ def cancel(self): if self.status == 'progress': response = requests.post( f'http://localhost:3000/kitchen/schedules/{self.schedule_id}/cancel', - json={'order': [item.dict() for item in self.items]} + # json={'order': [item.dict() for item in self.items]} This payload is not required. ) if response.status_code == 200: return