From f80a263bfc024eade1c35b336128a74b707d2a3a Mon Sep 17 00:00:00 2001 From: ChrisJL Date: Sun, 2 Jul 2023 08:55:52 +0100 Subject: [PATCH] Update expiry label from 1 month to 30 days (#185) Since there isn't 1 true answer to how many seconds are in 1 month, making it 30 days is just easier. --- docs/changelog.rst | 6 +++++- pydis_core/utils/paste_service.py | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 056a51462..e78f57158 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -3,7 +3,11 @@ Changelog ========= -- :release:`9.9.0 <22th June 2023>` +- :release:`9.9.2 <2nd July 2023>` +- :bug:`185` Update expiry label from 1 month to 30 days in paste service. + + +- :release:`9.9.1 <22nd June 2023>` - :bug:`183` Push the correct changeset to pypi. diff --git a/pydis_core/utils/paste_service.py b/pydis_core/utils/paste_service.py index 2a898fc49..a8be08880 100644 --- a/pydis_core/utils/paste_service.py +++ b/pydis_core/utils/paste_service.py @@ -90,7 +90,7 @@ async def send_to_paste_service( log.debug(f"Sending contents of size {contents_size} bytes to paste service.") payload = { - "expiry": "1month", + "expiry": "30days", "long": "on", # Use a longer URI for the paste. "files": [ {"name": file_name, "lexer": lexer, "content": contents},