Skip to content

Commit

Permalink
http
Browse files Browse the repository at this point in the history
  • Loading branch information
woo-jk committed Aug 23, 2024
1 parent db31c10 commit 8bdb633
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apis/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ axiosInstance.interceptors.response.use(

const createApiMethod =
(instance: AxiosInstance, method: Method) =>
<T>(config: AxiosRequestConfig): Promise<AxiosResponse> =>
<T>(config: AxiosRequestConfig): Promise<AxiosResponse<T>> =>
instance({ ...config, method });

export const http = {
Expand Down

0 comments on commit 8bdb633

Please sign in to comment.