mirror of
https://github.com/st-tu-dresden-praktikum/swt23w23
synced 2024-07-19 21:04:36 +02:00
Remove swearing
This commit is contained in:
parent
9747fc5589
commit
fef48cbff5
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue