mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fmt
This commit is contained in:
parent
b671b9704f
commit
19b69a82af
@ -103,8 +103,8 @@ func updateOrgUserHelper(cmd m.UpdateOrgUserCommand) Response {
|
|||||||
// DELETE /api/org/users/:userId
|
// DELETE /api/org/users/:userId
|
||||||
func RemoveOrgUserForCurrentOrg(c *m.ReqContext) Response {
|
func RemoveOrgUserForCurrentOrg(c *m.ReqContext) Response {
|
||||||
return removeOrgUserHelper(&m.RemoveOrgUserCommand{
|
return removeOrgUserHelper(&m.RemoveOrgUserCommand{
|
||||||
UserId: c.ParamsInt64(":userId"),
|
UserId: c.ParamsInt64(":userId"),
|
||||||
OrgId: c.OrgId,
|
OrgId: c.OrgId,
|
||||||
ShouldDeleteOrphanedUser: true,
|
ShouldDeleteOrphanedUser: true,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user