api/webhooks: Fix legacy event:create ticket id

This commit is contained in:
Adnan Maolood 2022-04-29 10:21:15 -04:00 committed by Drew DeVault
parent e84fbbdddb
commit 357ced1876
1 changed files with 1 additions and 1 deletions

View File

@ -425,7 +425,7 @@ func DeliverLegacyEventCreate(ctx context.Context,
NewResolution: mkResolution(event.NewResolution),
Ticket: &TicketWebhookPayload{
ID: ticket.PKID,
ID: ticket.ID,
Ref: ticket.Ref(),
Title: ticket.Subject,
Tracker: &TrackerWebhookPayload{