Skip to content

Commit

Permalink
Update expiry label from 1 month to 30 days (#185)
Browse files Browse the repository at this point in the history
Since there isn't 1 true answer to how many seconds are in 1 month, making it 30 days is just easier.
  • Loading branch information
ChrisLovering authored Jul 2, 2023
1 parent df15245 commit f80a263
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.


Expand Down
2 changes: 1 addition & 1 deletion pydis_core/utils/paste_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down

0 comments on commit f80a263

Please sign in to comment.