Make json conversion functions private

This commit is contained in:
Rapptz committed 2021-08-22 02:35:58 -04:00
1 parent ea2d972666
commit 4a72201617
5 files changed
+17 -17

No files matched your search

+1 -1
View File
@@ -117,7 +117,7 @@ class WebhookAdapter:
if payload is not None:
headers['Content-Type'] = 'application/json'
to_send = utils.to_json(payload)
to_send = utils._to_json(payload)
if auth_token is not None:
headers['Authorization'] = f'Bot {auth_token}'