We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9790b73 commit 0eb26fcCopy full SHA for 0eb26fc
1 file changed
couch.ts
@@ -108,7 +108,7 @@ function makeFetch(
108
) => {
109
if (opts.basicAuth) {
110
const { username, password } = opts.basicAuth;
111
- const authorization = `Basic ${atob(username + ":" + password)}`;
+ const authorization = `Basic ${btoa(username + ":" + password)}`;
112
headers.set("authorization", authorization);
113
}
114
return fetch(`${endpoint}` + path, {
0 commit comments