Closed subzero911 closed 4 months ago
That's extremely strange, but if I subscribe to status AFTER setToken(), it works just fine:
Result:
Maybe the problem's because of this line
When I create a FreshLink, the setter runned, and it suddenly turns status to "unauthenticated". Just guessing...
This has been fixed in #96
At the first time I do setToken(), status always turns to "unauthorized". After refresh it becomes authorized.
code:
I debugged it and cannot find an issue, but the problem is definitely in
setToken()
. I await it and suddenly execution goes tovoid _updateStatus
wheretoken
is null !