Skip to content

Commit

Permalink
Update streams.py
Browse files Browse the repository at this point in the history
  • Loading branch information
hsyyid authored Apr 24, 2024
1 parent ef841ce commit 1651b38
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tap_restaurant365/streams.py
Original file line number Diff line number Diff line change
Expand Up @@ -556,8 +556,6 @@ def get_next_page_token(
"""Return a token for identifying next page or None if no more pages."""
# Check if pagination is enabled
data = response.json()
if len(data['value'])>0:
something = "something"
# Check for the presence of a next page link in the response data. nextLink is only present if there are more than 5000 records in filter response.
#This is unlikely that a single transaction will have 5k records but it is possible so leaving this code part here.
if "@odata.nextLink" in data:
Expand Down

0 comments on commit 1651b38

Please sign in to comment.