Skip to content

Add support for gnosis pay#99

Open
Joshua-onwuzu wants to merge 7 commits intofileverse-modfrom
add-support-for-gnosis-pay
Open

Add support for gnosis pay#99
Joshua-onwuzu wants to merge 7 commits intofileverse-modfrom
add-support-for-gnosis-pay

Conversation

@Joshua-onwuzu
Copy link
Contributor

No description provided.

Copy link
Contributor

@nadeem-fileverse nadeem-fileverse left a comment

Choose a reason for hiding this comment

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

PTAL

const interval = setInterval(() => {
const EXPIRY_DURATION_MS = 60 * 60 * 1000;
const expiryTimestamp = accessTokenCreatedAt + EXPIRY_DURATION_MS;
const newTimeLeft = expiryTimestamp - Date.now();
Copy link
Contributor

Choose a reason for hiding this comment

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

The token already contains an expiry field, use that instead

Copy link
Contributor

@nadeem-fileverse nadeem-fileverse left a comment

Choose a reason for hiding this comment

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

LGTM

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.

2 participants