Skip to content

Commit

Permalink
fix: expire_date for on_hold users
Browse files Browse the repository at this point in the history
  • Loading branch information
SaintShit committed Nov 18, 2023
1 parent 65ef881 commit 7b85d02
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/utils/share.py
Original file line number Diff line number Diff line change
Expand Up @@ -827,6 +827,7 @@ def setup_format_variables(extra_data: dict) -> dict:
if on_hold_expire_duration is not None and on_hold_expire_duration >= 0:
days_left = timedelta(seconds=on_hold_expire_duration).days
time_left = format_time_left(on_hold_expire_duration)
expire_date = '-'
else:
days_left = '∞'
time_left = '∞'
Expand Down

0 comments on commit 7b85d02

Please sign in to comment.