Fix argument type for InventoryController::addRentable

This commit is contained in:
Simon Bruder 2023-12-07 20:44:35 +01:00
parent 4d89fdc10a
commit e24ea8704f
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -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);
}