Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
lroal committed Jun 16, 2024
1 parent dbc0b6e commit 19a54c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/netAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function httpAdapter(baseURL, path, axiosInterceptor) {
const res = await axios.request(path, { headers, method: 'patch', data: body });
return res.data;
}
catch (e) {
catch (e) {
if (typeof e.response?.data === 'string')
throw new Error(e.response.data.replace(/^Error: /, ''));
else
Expand Down

0 comments on commit 19a54c7

Please sign in to comment.