You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2021/09/02 10:40:32 UTC

[GitHub] [couchdb-nano] glynnbird commented on issue #264: Uncaught TypeError: axiosCookieJarSupport is not a function

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: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org