fix: update user cache after profile updates (#936)

This commit is contained in:
UUBulb
2025-01-01 16:11:10 +08:00
committed by GitHub
parent 86b9eaeb0f
commit 283733d120

View File

@@ -89,6 +89,7 @@ func updateProfile(c *gin.Context) (any, error) {
return nil, newGormError("%v", err)
}
singleton.OnUserUpdate(&user)
return nil, nil
}