Skip to content

Commit 9c0cca7

Browse files
committed
Fix cache problem on dashboard
1 parent ce2d488 commit 9c0cca7

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
@@ -75,7 +75,9 @@ func retrieveFeeds(ctx *context.Context, options models.GetFeedsOptions) {
7575
if act.ActUser != nil {
7676
userCache[act.ActUserID] = act.ActUser
7777
}
78+
}
7879

80+
for _, act := range actions {
7981
repoOwner, ok := userCache[act.Repo.OwnerID]
8082
if !ok {
8183
repoOwner, err = models.GetUserByID(act.Repo.OwnerID)

0 commit comments

Comments
 (0)