Skip to content

Use expiration parameter in getVAPIDAuthorizationHeader#74

Merged
SherClockHolmes merged 1 commit intoSherClockHolmes:masterfrom
sometimes-i-send-pull-requests:vapid-expiration-fix
Nov 8, 2025
Merged

Use expiration parameter in getVAPIDAuthorizationHeader#74
SherClockHolmes merged 1 commit intoSherClockHolmes:masterfrom
sometimes-i-send-pull-requests:vapid-expiration-fix

Conversation

@sometimes-i-send-pull-requests
Copy link
Contributor

In the current state of the repository, expiration was being ignored in getVAPIDAuthorizationHeader, and would always use a value based on 12 hours after time.Now(). This seems to be the result of a bad merge conflict resolution, as it was correct in #45 but the merge commit for #46 backed out the relevant change.

With this PR, expiration is now used as provided, reintroducing the behavior added in #45. A test is also added to catch any potential future breakage here.

Fixes #73.

Previously it was being ignored, and would always use a value based on
12 hours after time.Now().  With this change, expiration is now used
as provided.
@SherClockHolmes
Copy link
Owner

@sometimes-i-send-pull-requests Thanks for the fix.

@SherClockHolmes SherClockHolmes merged commit 1d97e8e into SherClockHolmes:master Nov 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

VapidExpiration option is unused

2 participants