From 568a9999a8507f834567423c2c6ad05defd0e0dd Mon Sep 17 00:00:00 2001 From: Pedro Heyerdahl <61753986+pedroheyerdahl@users.noreply.github.com> Date: Fri, 25 Nov 2022 00:08:20 -0300 Subject: [PATCH] Revert "handle last page" --- tap_gorgias/client.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tap_gorgias/client.py b/tap_gorgias/client.py index cd329d5..d65efc9 100644 --- a/tap_gorgias/client.py +++ b/tap_gorgias/client.py @@ -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