mirror of
https://github.com/nezhahq/nezha.git
synced 2025-01-22 12:48:14 -05:00
fix: update user cache after profile updates (#936)
This commit is contained in:
parent
86b9eaeb0f
commit
283733d120
@ -89,6 +89,7 @@ func updateProfile(c *gin.Context) (any, error) {
|
||||
return nil, newGormError("%v", err)
|
||||
}
|
||||
|
||||
singleton.OnUserUpdate(&user)
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user