Skip to content

Commit fa09c84

Browse files
committed
hound
1 parent b54985c commit fa09c84

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

zendesk/ticket_comment.go

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,14 @@ func (z *Client) CreateTicketComment(ctx context.Context, ticketID int64, ticket
8282
return result, err
8383
}
8484

85-
type ListTicketCommentsSort string
85+
type listTicketCommentsSort string
8686

8787
const (
88-
TICKET_COMMENT_CREATED_AT_ASC ListTicketCommentsSort = "created_at"
89-
TICKET_COMMENT_CREATED_AT_DESC ListTicketCommentsSort = "-created_at"
88+
// TicketCommentCreatedAtAsc defines ASC sort val.
89+
TicketCommentCreatedAtAsc listTicketCommentsSort = "created_at"
90+
91+
// TicketCommentCreatedAtDesc defines DESC sort val.
92+
TicketCommentCreatedAtDesc listTicketCommentsSort = "-created_at"
9093
)
9194

9295
// ListTicketCommentOptions contains all the options supported by ListTicketComments endpoint.
@@ -95,7 +98,7 @@ type ListTicketCommentsOptions struct {
9598

9699
Include string `url:"include,omitempty"`
97100
IncludeInlineImages string `url:"include_inline_images,omitempty"`
98-
Sort ListTicketCommentsSort `url:"sort,omitempty"`
101+
Sort listTicketCommentsSort `url:"sort,omitempty"`
99102
}
100103

101104
// ListTicketCommentsResult contains the resulting ticket comments

0 commit comments

Comments
 (0)