Skip to content

Commit 699bd93

Browse files
committed
Split issue/pull view router function as multiple smaller functions
1 parent 5449da7 commit 699bd93

File tree

2 files changed

+245
-179
lines changed

2 files changed

+245
-179
lines changed

models/issues/issue.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,7 @@ func (issue *Issue) loadReactions(ctx context.Context) (err error) {
302302
comment.Reactions = append(comment.Reactions, react)
303303
}
304304
}
305+
issue.Reactions = reactions
305306
return nil
306307
}
307308

0 commit comments

Comments
 (0)