diff --git a/src/zendesk.ts b/src/zendesk.ts index 46a44a5..ea01380 100644 --- a/src/zendesk.ts +++ b/src/zendesk.ts @@ -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) {