MDSLKTR / pouch-vue

Pouchdb bindings for Vue.js
MIT License
90 stars 17 forks source link

Sync, push, pull, and changes methods call fetchSession, but why? #34

Closed assemblethis closed 4 years ago

assemblethis commented 5 years ago

I'm just noticing that the promise returned from fetchSession() isn't handled in the sync, push, pull, and changes methods. This method returns information about the current session and user. If the promise isn't being handled, then I can't see the point in calling it in the sync, push, pull, and changes methods.

I'll give this a closer look another day, but if anyone has any comments, please do.