Skip to content

Commit c1c36cb

Browse files
committed
work
1 parent f2f13e7 commit c1c36cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/woehlke/greenshop/backend/localization/OrderStatusController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public String ordersStatusId(@PathVariable long ordersStatusId, Model model){
5252
OrderStatusId thisOrderStatusId = new OrderStatusId();
5353
thisOrderStatusId.setId(ordersStatusId);
5454
thisOrderStatusId.setLanguage(language);
55-
OrderStatus thisOrderStatus = orderService.findOrderStatusById(thisOrderStatusId);
55+
OrderStatus thisOrderStatus = orderService.findOrderStatusById(thisOrderStatusId).get();
5656
model.addAttribute("thisOrderStatus",thisOrderStatus);
5757
return "admin/localization/ordersStatus";
5858
}

0 commit comments

Comments
 (0)