Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mirzaeimahdi409 committed Aug 2, 2024
1 parent 17623c8 commit 2f0259a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ public OrderDto getDeliveryPersonCurrentOrder(long deliveryPersonID) {
orderDto.setCustomerDto(userApi.getCustomerProfile(orderDto.getCustomerId()));
orderDto.setRestaurantOwnerDto(
userApi.getRestaurantOwnerProfile(orderDto.getRestaurantOwnerId()));
return orderDto;
}
throw new CustomException(ErrorCode.BAD_REQUEST, "order not found");
}
Expand Down

0 comments on commit 2f0259a

Please sign in to comment.