Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Fix - Documentation on isExpired() function #88

Open
altan-me opened this issue Feb 3, 2021 · 0 comments
Open

Fix - Documentation on isExpired() function #88

altan-me opened this issue Feb 3, 2021 · 0 comments

Comments

@altan-me
Copy link

altan-me commented Feb 3, 2021

https://github.com/salesforce-marketingcloud/FuelSDK-Node-Auth/wiki/isExpired
Github Wiki isExpired() true & false need to be swapped around..

Looking at the function the documentation should convey that:
if isExpired() returns true = token is expired or blank.
if isExpired() returns false = token is still valid

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant