mirror of
https://github.com/go-gitea/gitea.git
synced 2026-06-23 22:46:17 +02:00
fix: removing duplicate call
This commit is contained in:
parent
153c51e16e
commit
56c22ca376
@ -87,9 +87,9 @@ func getIssueIndexerData(ctx context.Context, issueID int64) (*internal.IndexerD
|
||||
return nil, false, err
|
||||
}
|
||||
|
||||
assigneeIDs, err := issue_model.GetAssigneeIDsByIssue(ctx, issue.ID)
|
||||
if err != nil {
|
||||
return nil, false, err
|
||||
assigneeIDs := make([]int64, 0, len(issue.Assignees))
|
||||
for _, a := range issue.Assignees {
|
||||
assigneeIDs = append(assigneeIDs, a.ID)
|
||||
}
|
||||
|
||||
projectIDs := make([]int64, 0, len(issue.Projects))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user