pull/13611/head
Dan Cech 7 years ago
parent b671b9704f
commit 19b69a82af
No known key found for this signature in database
GPG Key ID: 6F1146C5B66FBD41
  1. 4
      pkg/api/org_users.go

@ -103,8 +103,8 @@ func updateOrgUserHelper(cmd m.UpdateOrgUserCommand) Response {
// DELETE /api/org/users/:userId
func RemoveOrgUserForCurrentOrg(c *m.ReqContext) Response {
return removeOrgUserHelper(&m.RemoveOrgUserCommand{
UserId: c.ParamsInt64(":userId"),
OrgId: c.OrgId,
UserId: c.ParamsInt64(":userId"),
OrgId: c.OrgId,
ShouldDeleteOrphanedUser: true,
})
}

Loading…
Cancel
Save