feat(ui): add RSVP attendance option and admin features

* Implement attendance selection in RSVP form
* Add admin endpoints for managing RSVPs and guests
* Update RSVP handling to include attendance status
This commit is contained in:
warkanum committed 2026-09-06 16:02:52 +02:00
1 parent 735601e179
commit b7e88099c8
9 files changed
+615 -56

No files matched your search

+3 -2
View File
@@ -78,8 +78,9 @@ func (c *Client) SendRSVP(r store.RSVP) error {
guests[i] = map[string]any{"name": g.Name, "isChild": g.IsChild}
}
return c.post(c.cfg.RSVPURL, "rsvp.created", map[string]any{
"guests": guests,
"message": r.Message,
"guests": guests,
"message": r.Message,
"attending": r.Attending,
})
}