Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
zellwk committed Jul 26, 2024
1 parent 9ea66f5 commit 1496bcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export function toQueryString(object) {
export function reject(error) {
const err = {
status: error.status,
statusText: error.statusText || statuses[error.status],
statusText: error.statusText || statuses(error.status),
}

if (error.body) err.body = error.body
Expand Down

0 comments on commit 1496bcd

Please sign in to comment.