Skip to content

Commit

Permalink
quickfix: Issue #559 #559 will follow up with test PR (#560)
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptomail authored Aug 25, 2023
1 parent 7d06867 commit 58bd052
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zenpy/lib/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ def _query_zendesk(self, endpoint, object_type, *endpoint_args,
response_objects=cached_objects,
object_type=object_type)
else:
if self.supports_cbp() and 'cursor_pagination' not in endpoint_kwargs.keys():
if self.supports_cbp() and endpoint.__class__.__name__ != 'IncrementalEndpoint' and 'cursor_pagination' not in endpoint_kwargs.keys():
endpoint_kwargs['cursor_pagination'] = True
return self._get(
self._build_url(
Expand Down

0 comments on commit 58bd052

Please sign in to comment.