We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f744d9 commit 44f58dbCopy full SHA for 44f58db
api.py src/api.pyapi.py renamed to src/api.py
@@ -63,4 +63,4 @@ def get_post_replies_count(post_id, headers):
63
response = requests.get(f"{BASE_URL}/{post_id}/replies", headers=headers)
64
response.raise_for_status()
65
replies = response.json().get('data', [])
66
- return len(replies)
+ return len(replies)
0 commit comments