mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-11-04 08:40:20 +00:00
fix: update user cache after profile updates (#936)
This commit is contained in:
1 parent
86b9eaeb0f
commit
283733d120
1 file changed
+1
@@ -89,6 +89,7 @@ func updateProfile(c *gin.Context) (any, error) {
|
||||
return nil, newGormError("%v", err)
|
||||
}
|
||||
|
||||
singleton.OnUserUpdate(&user)
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user