Remove swearing

This commit is contained in:
Mathis Kral 2023-11-09 22:17:47 +01:00 committed by Simon Bruder
parent 9f7a90814d
commit dfd892d04b
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -73,7 +73,7 @@ public class OrderController {
@PostMapping("/event/changeOrderType") @PostMapping("/event/changeOrderType")
public String changeOrderType(@RequestParam(name = "orderType") Optional<String> optionalOrderType, Model model) { public String changeOrderType(@RequestParam(name = "orderType") Optional<String> optionalOrderType, Model model) {
String orderType = optionalOrderType.orElse("DEINE_FETTE_MUTTER"); String orderType = optionalOrderType.orElse("FOO");
switch (orderType) { switch (orderType) {
case "RaK": case "RaK":
cart.setOrderType(CustomOrder.OrderType.RENT_A_COOK); cart.setOrderType(CustomOrder.OrderType.RENT_A_COOK);