Skip to content

Commit

Permalink
fix(types): correct response type for sideconversations.list (#435)
Browse files Browse the repository at this point in the history
  • Loading branch information
blakmatrix committed Nov 27, 2024
1 parent 841e3d5 commit ec655ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clients/core/sideconversations.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ class SideConversations extends Client {
/**
* List all the Side Conversations tickets.
* @param {number} ticketID - the Id of the ticket.
* @returns {Promise<{result: Array<{ side_conversations: SideConversation[] }>}>} An array of tickets.
* @returns {Promise<SideConversation[]>} An array of side conversation objects.
* @see https://developer.zendesk.com/api-reference/ticketing/side_conversation/side_conversation/#list-side-conversations
* @example
* const tickets = await client.sideconversations.list(123);
Expand Down

0 comments on commit ec655ad

Please sign in to comment.