mirror of https://github.com/grafana/grafana.git
Fix swagger definition for RevokeInvite method
Swagger mistakenly defines /org/invites/{code}/revoke endpoint method as DELETE, but in the code and it actually uses PATCH method: 33ff6dbb9e/pkg/api/api.go (L338)
This commit is contained in:
parent
053920b8b7
commit
6fb7eb3882
|
@ -184,7 +184,7 @@ func (hs *HTTPServer) inviteExistingUserToOrg(c *contextmodel.ReqContext, user *
|
|||
})
|
||||
}
|
||||
|
||||
// swagger:route DELETE /org/invites/{invitation_code}/revoke org invites revokeInvite
|
||||
// swagger:route PATCH /org/invites/{invitation_code}/revoke org invites revokeInvite
|
||||
//
|
||||
// Revoke invite.
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue