diff --git a/routers/api/v1/activitypub/create.go b/routers/api/v1/activitypub/create.go index a76fb8b89a..e2bb2e4618 100644 --- a/routers/api/v1/activitypub/create.go +++ b/routers/api/v1/activitypub/create.go @@ -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(),