Skip to content

Commit c6b3c5b

Browse files
lunnytechknowlogick
authored andcommitted
Fix cache problem on dashboard (#9358)
1 parent 7217b70 commit c6b3c5b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

routers/user/home.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,9 @@ func retrieveFeeds(ctx *context.Context, options models.GetFeedsOptions) {
7878
if act.ActUser != nil {
7979
userCache[act.ActUserID] = act.ActUser
8080
}
81+
}
8182

83+
for _, act := range actions {
8284
repoOwner, ok := userCache[act.Repo.OwnerID]
8385
if !ok {
8486
repoOwner, err = models.GetUserByID(act.Repo.OwnerID)

0 commit comments

Comments
 (0)