This commit is contained in:
Ruidy 2024-08-26 21:38:08 +02:00
parent d59a55f8c3
commit 49bac45f73
No known key found for this signature in database
GPG key ID: E00F51288CB857CC

View file

@ -270,7 +270,7 @@ func handleCreateItem(bs *booking.Service, cs *calendar.Service, hc *config.Host
} }
for _, i := range newItems { for _, i := range newItems {
renderTempl(c, http.StatusCreated, view.LineItem(&view.ItemViewModel{ _ = renderTempl(c, http.StatusCreated, view.LineItem(&view.ItemViewModel{
Id: strconv.Itoa(i.Id), Id: strconv.Itoa(i.Id),
Item: i.Item, Item: i.Item,
Quantity: strconv.Itoa(i.Quantity), Quantity: strconv.Itoa(i.Quantity),