glynnbird commented on issue #264:
URL: https://github.com/apache/couchdb-nano/issues/264#issuecomment-911520913


   Couldn't reproduce myself:
   
   ```js
   const nano = require('nano')({
     url: process.env.COUCH_URL,
     requestDefaults: {
       jar: true
     }
   })
   const username = 'myusername'
   const userpass = 'mypassword'
   const db = nano.db.use('people')
   
   const main = async () => {
     // authenticate
     await nano.auth(username, userpass)
     const r = await db.list({ limit: 5 })
     console.log(r)
   }
   
   main()
   ```


-- 
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]


Reply via email to