🐛 Fix set avatar cause group permission leaked to personal

This commit is contained in:
2025-03-25 21:48:51 +08:00
parent 9712119238
commit 742edaa9e2
3 changed files with 4 additions and 8 deletions

View File

@ -113,7 +113,7 @@ func getUserinfo(c *fiber.Ctx) error {
return c.JSON(resp)
}
func updateUserinfo(c *fiber.Ctx) error {
func editUserinfo(c *fiber.Ctx) error {
if err := exts.EnsureAuthenticated(c); err != nil {
return err
}