Skip to content

Commit

Permalink
Bug fix in recent_tweet_counts.py
Browse files Browse the repository at this point in the history
Signed-off-by: nightzero.eth <134239349+nightzeroeth@users.noreply.github.com>
  • Loading branch information
lofieth committed Mar 9, 2024
1 parent 47cb8c5 commit 22376e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Recent-Tweet-Counts/recent_tweet_counts.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def bearer_oauth(r):


def connect_to_endpoint(url, params):
response = requests.request("GET", search_url, auth=bearer_oauth, params=params)
response = requests.request("GET", url, auth=bearer_oauth, params=params)
print(response.status_code)
if response.status_code != 200:
raise Exception(response.status_code, response.text)
Expand All @@ -36,4 +36,4 @@ def main():


if __name__ == "__main__":
main()
main()

0 comments on commit 22376e8

Please sign in to comment.