diff --git a/zendesk/ticket.go b/zendesk/ticket.go index 2d70dc6..e100130 100644 --- a/zendesk/ticket.go +++ b/zendesk/ticket.go @@ -116,7 +116,8 @@ type Ticket struct { type Requester struct { Name string `json:"name,omitempty"` Email string `json:"email,omitempty"` - LocaleID string `json:"locale_id,omitempty"` + Locale string `json:"locale,omitempty"` + LocaleID int64 `json:"locale_id,omitempty"` } // Via is information about source of Ticket or TicketComment @@ -197,7 +198,6 @@ func (z *Client) GetTickets(ctx context.Context, opts *TicketListOptions) ([]Tic return data.Tickets, data.Page, nil } - // GetOrganizationTickets get organization ticket list // // ref: https://developer.zendesk.com/rest_api/docs/support/tickets#list-tickets