mirror of
https://github.com/st-tu-dresden-praktikum/swt23w23
synced 2024-07-19 21:04:36 +02:00
Fix argument type for InventoryController::addRentable
This commit is contained in:
parent
4d89fdc10a
commit
e24ea8704f
|
@ -146,7 +146,7 @@ class InventoryController {
|
|||
}
|
||||
|
||||
@PostMapping(path = "/inventory/add", params = "type=Rentable")
|
||||
String addRentable(@Valid @ModelAttribute("form") ConsumableMutateForm form, Errors result, Model model) {
|
||||
String addRentable(@Valid @ModelAttribute("form") RentableMutateForm form, Errors result, Model model) {
|
||||
return add(form, result, model);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue