Closed imcvampire closed 2 years ago
Bug fix
Currently, the lib uses refreshToken but it may be null. There is a check in the first line and we should use that variable.
refreshToken
null
Use token (which is refreshToken ?? currentSession?.refreshToken) instead of refreshToken
token
refreshToken ?? currentSession?.refreshToken
@dshukertjr Thank you! I'm wondering when we can release a new version with this fix?
@imcvampire Will release an update in a day or two!
What kind of change does this PR introduce?
Bug fix
What is the current behavior?
Currently, the lib uses
refreshToken
but it may benull
. There is a check in the first line and we should use that variable.What is the new behavior?
Use
token
(which isrefreshToken ?? currentSession?.refreshToken
) instead ofrefreshToken
Additional context