-
Notifications
You must be signed in to change notification settings - Fork 16
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
Empty store after signing in #148
Comments
can you try this please? hoodie.account.signIn(options)
.then(() => hoodie.store.pull())
.then(() => {
hoodie.store.findAll() // should now resolve with all documents
}) After sign in, hoodie pulls all documents from the user’s account. We emit the |
Thanks for you quick reply @gr2m! My current workaround was indeed to do a |
There is already a |
Hm, I see. With a |
I am trying to display the documents stored in the db after the user signs in. For some reason, there are no documents right after signing in, even though I wait for the
connect
to be fired to callfindAll
Scenario:
connect
event on the store to do ahoodie.findAll
hoodie.findAll
after, we actually get the documentsIs there something I'm missing to make this work?
The text was updated successfully, but these errors were encountered: