Skip to content

Commit 56cc358

Browse files
committed
fix: error is now thrown instead of returned
1 parent b2c714f commit 56cc358

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/common.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,5 @@ export const createRequestFunction =
105105
const axiosRequestArgs = { ...axiosArgs.options, url: configuration.baseUrl + axiosArgs.url };
106106
return configuration.axiosInstance
107107
.request<T, AxiosResponse<T>>(axiosRequestArgs)
108-
.then((response) => response.data)
109-
.catch((error) => error);
108+
.then((response) => response.data);
110109
};

0 commit comments

Comments
 (0)