YakovL commented on issue #324: URL: https://github.com/apache/couchdb-nano/issues/324#issuecomment-1417806921
Great, thanks, currently I'm using something like this ``` const session = await nano.session() // 'cookie' when we're good and undefined otherwise const isAuthed = session.info.authenticated if(!isAuthed) await nano.auth(user, password) ``` and it works fine, although this doubles the number of requests to db. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
