feat: able to manage group now

This commit is contained in:
JustSong
2023-06-08 09:26:54 +08:00
parent 2ad22e1425
commit 2c53424db8
5 changed files with 51 additions and 13 deletions

View File

@@ -91,6 +91,7 @@ func (channel *Channel) Update() error {
if err != nil {
return err
}
DB.Model(channel).First(channel, "id = ?", channel.Id)
err = channel.UpdateAbilities()
return err
}