Skip to content

Commit

Permalink
fix: get current ticket
Browse files Browse the repository at this point in the history
  • Loading branch information
inaciogu committed Nov 30, 2023
1 parent b513d1b commit 3e42d9e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/zendesk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,7 @@ export class ZendeskClient
}

async getCurrentTicket() {
const data = await this.get('ticket');
return data.ticket;
return await this.get('ticket');
}

async ticketFieldOption(ticketFieldId: string, value: string) {
Expand Down

0 comments on commit 3e42d9e

Please sign in to comment.