From 8bdb633f5a8ec381d41bc19457745b10298fd629 Mon Sep 17 00:00:00 2001 From: woo-jk Date: Sat, 24 Aug 2024 03:24:21 +0900 Subject: [PATCH] http --- src/apis/http.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apis/http.ts b/src/apis/http.ts index 2fe97edf..2c49cabe 100644 --- a/src/apis/http.ts +++ b/src/apis/http.ts @@ -71,7 +71,7 @@ axiosInstance.interceptors.response.use( const createApiMethod = (instance: AxiosInstance, method: Method) => - (config: AxiosRequestConfig): Promise => + (config: AxiosRequestConfig): Promise> => instance({ ...config, method }); export const http = {