diff options
author | 2023-07-02 08:55:52 +0100 | |
---|---|---|
committer | 2023-07-02 08:55:52 +0100 | |
commit | f80a263bfc024eade1c35b336128a74b707d2a3a (patch) | |
tree | f379624ea6ba721e3ad17d998f7b8ab14ca508d0 | |
parent | New version to allow new changeset to be pushed to pypi (#183) (diff) |
Update expiry label from 1 month to 30 days (#185)v9.9.2
Since there isn't 1 true answer to how many seconds are in 1 month, making it 30 days is just easier.
-rw-r--r-- | docs/changelog.rst | 6 | ||||
-rw-r--r-- | 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 056a5146..e78f5715 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 2a898fc4..a8be0888 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}, |