Skip to content

Commit

Permalink
fix expiration
Browse files Browse the repository at this point in the history
  • Loading branch information
GhenadieVP committed Feb 14, 2025
1 parent ffeeef8 commit 905aa16
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ extension PreAuthorizationReview.State {
var isExpired: Bool {
switch expiration {
case let .atTime(value):
value.date <= Date.now
value.date <= Date.now || secondsToExpiration == 0
case .afterDelay:
false
}
Expand Down

0 comments on commit 905aa16

Please sign in to comment.