Skip to content

Commit

Permalink
fix: update user cache after profile updates (#936)
Browse files Browse the repository at this point in the history
  • Loading branch information
uubulb authored Jan 1, 2025
1 parent 86b9eae commit 283733d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/dashboard/controller/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ func updateProfile(c *gin.Context) (any, error) {
return nil, newGormError("%v", err)
}

singleton.OnUserUpdate(&user)
return nil, nil
}

Expand Down

0 comments on commit 283733d

Please sign in to comment.