Set issue Index, not ID, when creating issues from an AS object

This commit is contained in:
Anthony Wang 2022-11-27 01:44:02 +00:00
parent 2d74e4f555
commit c982b67626
No known key found for this signature in database
GPG Key ID: 42A5B952E6DD8D38
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ func createIssue(ctx context.Context, ticket *forgefed.Ticket) error {
return err
}
issue := &issues_model.Issue{
ID: idx,
Index: idx,
RepoID: repo.ID,
Repo: repo,
Title: ticket.Summary.String(),