mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Make json conversion functions private
This commit is contained in:
1 parent
ea2d972666
commit
4a72201617
5 files changed
+17
-17
No files matched your search
@@ -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}'
|
||||
|
||||
Reference in new issue
Block a user