Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix expiration on create if it's not specified and no_eternal_pasta is set #146

Merged
merged 2 commits into from
Mar 26, 2023
Merged

Fix expiration on create if it's not specified and no_eternal_pasta is set #146

merged 2 commits into from
Mar 26, 2023

Commits on Feb 24, 2023

  1. Fix expiration on create if it's not specified and no_eternal_pasta i…

    …s set
    
    If no_eternal_pasta is specified, when calling /upload with no
    expiration, the expiration currently defaults at 0. This change
    makes it default to the maximal expiry.
    
    Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
    rissson committed Feb 24, 2023
    Configuration menu
    Copy the full SHA
    2f0ee11 View commit details
    Browse the repository at this point in the history
  2. create: refactor expiry conversion to timestamp

    Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
    rissson committed Feb 24, 2023
    Configuration menu
    Copy the full SHA
    d6f5c0c View commit details
    Browse the repository at this point in the history