Skip to content

Commit e28b237

Browse files
authored
Update request.py
-- Fix post method return None
1 parent 05fde2a commit e28b237

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

posthog/request.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ def post(api_key, host=None, path=None, gzip=False, timeout=15, **kwargs):
4343

4444
if res.status_code == 200:
4545
log.debug('data uploaded successfully')
46-
return res
46+
47+
return res
4748

4849

4950
def _process_response(res, success_message, return_json=True):

0 commit comments

Comments
 (0)