From 8cb65e33aa3256eec66a961e32e91a7b3dca88f2 Mon Sep 17 00:00:00 2001 From: Olga Bulat Date: Wed, 27 Mar 2024 20:18:08 +0300 Subject: [PATCH] Remove unrelated change --- frontend/src/data/api-service.ts | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/frontend/src/data/api-service.ts b/frontend/src/data/api-service.ts index b3b5bd36bd4..f67bc102484 100644 --- a/frontend/src/data/api-service.ts +++ b/frontend/src/data/api-service.ts @@ -122,16 +122,7 @@ export const createApiService = ({ return config }) client.interceptors.response.use( - (response) => { - const params = new URLSearchParams(response.config.params).toString() - console.log( - "> API response", - new URL( - `${response.config.baseURL}${response.config.url}${params ? "?" + params : ""}` - ).href - ) - return response - }, + (response) => response, (error) => { if (error.code === "ECONNABORTED") { error.message = `timeout of ${