From 82cf958cfab21085f6cc1165cda51f51d1ca7663 Mon Sep 17 00:00:00 2001 From: Rain Tomista Date: Wed, 27 Sep 2023 19:18:42 +0800 Subject: [PATCH] Unmarshal support for Ticket --- zendesk/ticket.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zendesk/ticket.go b/zendesk/ticket.go index 6aa6f9a0..eeca4859 100644 --- a/zendesk/ticket.go +++ b/zendesk/ticket.go @@ -63,7 +63,7 @@ type Ticket struct { SubmitterID int64 `json:"submitter_id,omitempty"` AssigneeID int64 `json:"assignee_id,omitempty"` OrganizationID int64 `json:"organization_id,omitempty"` - GroupID int64 `json:"group_id,omitempty"` + GroupID json.Number `json:"group_id,omitempty"` CollaboratorIDs []int64 `json:"collaborator_ids,omitempty"` FollowerIDs []int64 `json:"follower_ids,omitempty"` EmailCCIDs []int64 `json:"email_cc_ids,omitempty"`