Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
iSarabjitDhiman committed May 18, 2024
1 parent fc0abff commit 9612933
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tweeterpy/tweeterpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ def filter_data(response):
while data_container["has_next_page"]:
try:
if end_cursor:
varaibles = json.loads(params['variables'])
varaibles['cursor'] = end_cursor
params['variables'] = json.dumps(varaibles)
variables = json.loads(params['variables'])
variables['cursor'] = end_cursor
params['variables'] = json.dumps(variables)
response = make_request(url, params=params)
data = [item for item in reduce(
dict.get, data_path, response) if item['type'] == 'TimelineAddEntries'][0]['entries']
Expand Down

0 comments on commit 9612933

Please sign in to comment.