fix: GET /user/invites now calls correct handler

This commit is contained in:
2026-08-31 20:35:39 +02:00
parent e52b7d4fad
commit 8ab2f3f1bf
+1 -1
View File
@@ -51,7 +51,7 @@ func NewMux(cfg Config) http.Handler {
// Invites
apiMux.Handle("POST /user/invites", protected(inviteHandler.CreateInvite))
apiMux.Handle("DELETE /user/invites/{id}", protected(inviteHandler.DeleteInvite))
apiMux.Handle("GET /user/invites", protected(inviteHandler.CreateInvite))
apiMux.Handle("GET /user/invites", protected(inviteHandler.GetInvites))
// Lists
apiMux.Handle("POST /lists", protected(listHandler.CreateList))