feat: added endpoint to fetch invites status
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user