aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_core
diff options
context:
space:
mode:
Diffstat (limited to 'pydis_core')
-rw-r--r--pydis_core/utils/paste_service.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_core/utils/paste_service.py b/pydis_core/utils/paste_service.py
index 0c15b588..140e6cdc 100644
--- a/pydis_core/utils/paste_service.py
+++ b/pydis_core/utils/paste_service.py
@@ -109,7 +109,7 @@ async def send_to_paste_service(
payload = {
"expiry": "30days",
"long": "on", # Use a longer URI for the paste.
- "files": [file.dict() for file in files] # Use file.model_dump() when we drop support for pydantic 1.X
+ "files": [file.model_dump() for file in files]
}
for attempt in range(1, FAILED_REQUEST_ATTEMPTS + 1):
try: