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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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