feat(invite): worked on pending invitations list, revoke invite now works, #2353
This commit is contained in:
@@ -94,6 +94,7 @@ func Register(r *macaron.Macaron) {
|
||||
// invites
|
||||
r.Get("/invites", wrap(GetPendingOrgInvites))
|
||||
r.Post("/invites", bind(dtos.AddInviteForm{}), wrap(AddOrgInvite))
|
||||
r.Patch("/invites/:id/revoke", wrap(RevokeInvite))
|
||||
}, regOrgAdmin)
|
||||
|
||||
// create new org
|
||||
|
||||
Reference in New Issue
Block a user