buhrmi / vue-pouch

Live and reactive PouchDB bindings for Vuejs
164 stars 20 forks source link

Fix doc.get #3

Closed cooltrooper closed 7 years ago

cooltrooper commented 7 years ago

Fixes issue when trying to fetch a single doc. Original typo? Current implementation is patting the db name into the docid field of the pouchdb function.

cooltrooper commented 7 years ago

the methods also dont allow for you to pass options and a callback, only a callback? get: function(db, object, options) { return databases[db].get(db, object, options); },

from pouch:

db.get(docId, [options], [callback])

cooltrooper commented 7 years ago

Could you bump the npm version please?

buhrmi commented 7 years ago

just published 0.0.22 ... sorry for the delay.