Skip to content

Commit

Permalink
fix: Catch function in send function is not working
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaituVR committed Mar 18, 2024
1 parent 092dd38 commit f30b1ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sign/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export default class Client {
if (res.ok) return resolve(res.json());
throw res;
})
.catch((e) => e.json().then((json) => reject(json)));
.catch((e) => reject(e));
});
}

Expand Down

0 comments on commit f30b1ce

Please sign in to comment.