Skip to content

Commit

Permalink
misc: change the order in an AND
Browse files Browse the repository at this point in the history
  • Loading branch information
aubin-tchoi committed Nov 27, 2024
1 parent 2faeb56 commit ce43502
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions connectors/src/connectors/zendesk/lib/zendesk_api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,8 @@ export async function fetchRecentlyUpdatedTickets(
tickets: response.tickets,
hasMore:
!response.end_of_stream &&
response.tickets.length !== 0 &&
response.after_url !== null,
response.after_url !== null &&
response.tickets.length !== 0,
nextLink: response.after_url,
};
}
Expand Down

0 comments on commit ce43502

Please sign in to comment.