solzimer / session-pouchdb-store

PouchDB express session store. Can do realtime session data synchronization via PouchDB server
5 stars 9 forks source link

Fixed destroy method which assumed get method was async #6

Closed JoePotentier closed 4 years ago

JoePotentier commented 4 years ago

Get method cannot be awaited as it never uses return and still uses callbacks. This can be seen in the touch method too. We need to use the callback instead of awaiting for a return value.

JoePotentier commented 4 years ago

4 Fix

solzimer commented 4 years ago

Thanks for your contribution @JoePotentier