From e207cee460bcc4f1ae87790955f91be69267bd78 Mon Sep 17 00:00:00 2001 From: yoosangwook Date: Fri, 16 May 2025 17:59:25 +0900 Subject: [PATCH] fix: Correct axios instance reference in response interceptor for error handling --- src/libs/axios.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/axios.ts b/src/libs/axios.ts index 888dccf..8718318 100644 --- a/src/libs/axios.ts +++ b/src/libs/axios.ts @@ -20,7 +20,7 @@ export const axiosInstance = (url: string | null | undefined) => { }, ) - axios.interceptors.response.use( + instance.interceptors.response.use( (response) => transferResponse(response), (error) => { // 에러 처리 로직