From 4bec5da9c60968e7440a9693989443c312e7a489 Mon Sep 17 00:00:00 2001 From: Thomas L Fagermyr Date: Wed, 29 Jan 2025 14:22:57 +0100 Subject: [PATCH] chore: Removed a space --- src/hooks/useFetchFile.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hooks/useFetchFile.tsx b/src/hooks/useFetchFile.tsx index 376fb82..45908a4 100644 --- a/src/hooks/useFetchFile.tsx +++ b/src/hooks/useFetchFile.tsx @@ -8,7 +8,7 @@ export const getFetchIniFileAxios = async ( const base = OpenAPI.BASE; const response = await axios.get( - ` /api/downloads/${analogueModel.analogueModelId}/ini`, + `/api/downloads/${analogueModel.analogueModelId}/ini`, { headers: { Authorization: `Bearer ${token}` }, responseType: 'blob', // response type of blob to handle images @@ -44,7 +44,7 @@ export const getFetchNcFileAxios = async ( const base = OpenAPI.BASE; const response = await axios.get( - ` /api/downloads/${analogueModel.analogueModelId}/nc`, + `/api/downloads/${analogueModel.analogueModelId}/nc`, { headers: { Authorization: `Bearer ${token}` }, responseType: 'blob', // response type of blob to handle images @@ -80,7 +80,7 @@ export const getFetchResqmlFileAxios = async ( const base = OpenAPI.BASE; const response = await axios.get( - ` /api/downloads/${analogueModel.analogueModelId}/resqml`, + `/api/downloads/${analogueModel.analogueModelId}/resqml`, { headers: { Authorization: `Bearer ${token}` }, responseType: 'blob', // response type of blob to handle images