Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updateAccessToken should not be used with a cozy-client instance initialization #511

Open
ptbrowne opened this issue Apr 2, 2019 · 2 comments
Labels

Comments

@ptbrowne
Copy link
Contributor

ptbrowne commented Apr 2, 2019

After the change made here, we have this kind of errors.

Unhandled Promise Rejection: Error: updateAccessToken should not be used with a cozy-client instance initialization

What can I do about that ?

@ptbrowne ptbrowne added the bug label Apr 2, 2019
@Crash--
Copy link
Contributor

Crash-- commented Apr 17, 2019

Do we still need to use updateAccessToken ? Since we pass an instance of cozy-client to the bar, if the client refresh itself, the bar is also refreshed?

@CPatchane
Copy link
Contributor

It should only be used if we don't provided the cozy-client instance, so I don't understand why you got this error :/

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

No branches or pull requests

3 participants