diff --git a/internal/api/router/router.go b/internal/api/router/router.go index de1607c..10c412e 100644 --- a/internal/api/router/router.go +++ b/internal/api/router/router.go @@ -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))