Skip to content

Commit

Permalink
chore: fix typo in credential error message (#1496)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgagn committed Feb 3, 2022
1 parent 4ce2ce5 commit 2e1f3a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/request.js
Expand Up @@ -57,7 +57,7 @@ export default class Request extends Body {
}

if (parsedURL.username !== '' || parsedURL.password !== '') {
throw new TypeError(`${parsedURL} is an url with embedded credentails.`);
throw new TypeError(`${parsedURL} is an url with embedded credentials.`);
}

let method = init.method || input.method || 'GET';
Expand Down

0 comments on commit 2e1f3a5

Please sign in to comment.