feature/backoffice #6

Merged
mats merged 24 commits from feature/backoffice into main 2025-10-16 09:46:07 +02:00
Showing only changes of commit bad15e7f70 - Show all commits

View File

@@ -147,6 +147,7 @@ func (fs *FileServer) CartHandler(w http.ResponseWriter, r *http.Request) {
id, ok := isValidId(idStr) id, ok := isValidId(idStr)
if !ok { if !ok {
writeJSON(w, http.StatusBadRequest, JsonError{Error: "invalid id"}) writeJSON(w, http.StatusBadRequest, JsonError{Error: "invalid id"})
return
} }
// reconstruct state from event log if present // reconstruct state from event log if present
grain := cart.NewCartGrain(id, time.Now()) grain := cart.NewCartGrain(id, time.Now())