Skip to content

Commit

Permalink
Update zendesk.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
PedroAntunesCosta committed Jun 17, 2024
1 parent d7a77bc commit 7710cf9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions node/clients/zendesk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ export default class ZendeskClient extends ExternalClient {
})
}

public async getComments(ticketId: string) {
const url = `https://vtexhelp1704480599.zendesk.com/api/v2/tickets/${ticketId}/comments.json`
public async getComments(ticketId: string, page: number=1) {
const url = `https://vtexhelp1704480599.zendesk.com/api/v2/tickets/${ticketId}/comments.json?page=${page}`

return this.http.get(
url,
Expand Down

0 comments on commit 7710cf9

Please sign in to comment.