backport #30124 (cherry picked from commit 7bffb923ce723947837fd1c12fe2f1edcba72315)
This commit is contained in:
parent
e9932a404d
commit
953914d1f7
1 changed files with 4 additions and 0 deletions
|
@ -117,6 +117,10 @@ func findCodeComments(ctx context.Context, opts FindCommentsOptions, issue *Issu
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if err := comments.LoadAttachments(ctx); err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
|
||||||
// Find all reviews by ReviewID
|
// Find all reviews by ReviewID
|
||||||
reviews := make(map[int64]*Review)
|
reviews := make(map[int64]*Review)
|
||||||
ids := make([]int64, 0, len(comments))
|
ids := make([]int64, 0, len(comments))
|
||||||
|
|
Loading…
Reference in a new issue