feat: added endpoint to fetch invites status

This commit is contained in:
2026-09-01 16:26:27 +02:00
parent c6498e1078
commit 42fbd681ba
4 changed files with 77 additions and 0 deletions
+1
View File
@@ -50,6 +50,7 @@ func NewMux(cfg Config) http.Handler {
apiMux.Handle("POST /user/invites", protected(inviteHandler.CreateInvite))
apiMux.Handle("DELETE /user/invites/{id}", protected(inviteHandler.DeleteInvite))
apiMux.Handle("GET /user/invites", protected(inviteHandler.GetInvites))
apiMux.Handle("GET /user/invites/status", protected(inviteHandler.GetInvitesStatus))
// Lists
apiMux.Handle("POST /lists", protected(listHandler.CreateList))