Skip to content

Commit

Permalink
Merge pull request #14 from brooklyn-data/revert-13-handle_last_page
Browse files Browse the repository at this point in the history
Revert "handle last page"
  • Loading branch information
pedroheyerdahl authored Nov 25, 2022
2 parents 3b6ba33 + 568a999 commit d594a74
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tap_gorgias/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,4 @@ def get_next_page_token(
all_matches = extract_jsonpath(self.next_page_token_jsonpath, response.json())
first_match = next(iter(all_matches), None)
next_page_token = first_match
if next_page_token == previous_token:
return None
return next_page_token

0 comments on commit d594a74

Please sign in to comment.