Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

fix: convert "expires_in" to integer #35

Closed
wants to merge 1 commit into from

Conversation

andrii-maglovanyi
Copy link

expires_in can be given as a string, causing string to number concatenation and incorrect expires_at calculation.
Fixed it by to converting it into a number, if it isn't already.

Copy link
Owner

@gardner gardner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@andrii-maglovanyi andrii-maglovanyi closed this by deleting the head repository May 3, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants