feat: fix unable to remove user from group bug (#3847)

This commit is contained in:
DacongDA
2025-05-28 22:29:40 +08:00
committed by GitHub
parent 0ad4d82d9c
commit 4e17dae2c2
2 changed files with 12 additions and 1 deletions

View File

@ -703,7 +703,7 @@ func (c *ApiController) RemoveUserFromGroup() {
return
}
affected, err := object.DeleteGroupForUser(util.GetId(owner, name), groupName)
affected, err := object.DeleteGroupForUser(util.GetId(owner, name), util.GetId(owner, groupName))
if err != nil {
c.ResponseError(err.Error())
return