Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

Commit

Permalink
Get bookmark position from the correct location
Browse files Browse the repository at this point in the history
  • Loading branch information
koszti committed Feb 22, 2021
1 parent f17bd60 commit a608e97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tap_twilio/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def sync_endpoint(
params[bookmark_query_field_to] = strftime(end_window)[:10] # truncate date

if synch_since_bookmark and bookmark_query_field_from:
current_stream_bookmark_string = state.get('value', {}).get('bookmarks', {}).get(stream_name)
current_stream_bookmark_string = state.get('bookmarks', {}).get(stream_name)

# if we have a bookmark for the given stream, use that one
if current_stream_bookmark_string is not None:
Expand Down

0 comments on commit a608e97

Please sign in to comment.