From b4d457e33c61818b8b59673093e220f90254f9f7 Mon Sep 17 00:00:00 2001 From: Paolo Romolini Date: Mon, 17 Jul 2023 15:29:32 +0200 Subject: [PATCH] fix: add include users in ticket comments API The include users didn't returned the list of users as described in the documentation: https://developer.zendesk.com/api-reference/ticketing/tickets/ticket_comments/#parameters Signed-off-by: Paolo Romolini Co-authored-by: Tamara Nocentini --- zendesk/ticket_comment.go | 1 + 1 file changed, 1 insertion(+) diff --git a/zendesk/ticket_comment.go b/zendesk/ticket_comment.go index fdbca1b..9e4bcc3 100644 --- a/zendesk/ticket_comment.go +++ b/zendesk/ticket_comment.go @@ -116,6 +116,7 @@ type ListTicketCommentsOptions struct { type ListTicketCommentsResult struct { TicketComments []TicketComment `json:"comments"` Meta CursorPaginationMeta `json:"meta"` + Users []User `json:"users"` } // ListTicketComments gets a list of comment for a specified ticket