mhoc / axios-digest-auth

Axios-like HTTP Digest Auth
https://axios-digest-auth.mhoc.co
The Unlicense
14 stars 20 forks source link

Demo Issues and reject status #4

Open jfoxworth opened 3 years ago

jfoxworth commented 3 years ago

The demo used has an await function that isn't tied to any async function that I see. Simply copying and pasting the demo gives the error that the await function cannot be used out of an async function.

Removing the async function results in an error that the promise was rejected with the error "Cannot read property 'status' of undefined". I am not sure what is happening.