Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SeptemberHX committed Mar 21, 2022
1 parent d38b579 commit 1a2e746
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion users.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def send_request(user_id, func_obj):
}
t1 = datetime.datetime.now().timestamp() * 1000 # ms
logger.debug(f'==> {user_id}|{data["svcId"]}|{data["patternUrl"]}|{t1}')
response = requests.post(gateway, data=json.dumps(data))
response = requests.post(gateway, json=data)
t2 = datetime.datetime.now().timestamp() * 1000 # ms
logger.debug(f'<== {user_id}|{data["svcId"]}|{data["patternUrl"]}|{t2}')

Expand Down

0 comments on commit 1a2e746

Please sign in to comment.