From 48e6cbdf49f2044d8c206b552ab119c66c34f7fb Mon Sep 17 00:00:00 2001 From: syns2191 Date: Tue, 26 Nov 2024 00:46:45 +0700 Subject: [PATCH] fix: miss spell word --- apps/web/app/services/client/axios.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/app/services/client/axios.ts b/apps/web/app/services/client/axios.ts index 127aa7f5c..df61a233d 100644 --- a/apps/web/app/services/client/axios.ts +++ b/apps/web/app/services/client/axios.ts @@ -87,7 +87,7 @@ apiDirect.interceptors.response.use( type APIConfig = AxiosRequestConfig & { tenantId?: string; directAPI?: boolean }; -async function desktopServerOveride() { +async function desktopServerOverride() { if (typeof window !== 'undefined') { try { const serverConfig = await api.get('/desktop-server'); @@ -106,7 +106,7 @@ async function apiConfig(config?: APIConfig) { let baseURL: string | undefined = GAUZY_API_BASE_SERVER_URL.value; if (IS_DESKTOP_APP) { // dynamic api host while on desktop mode - const runtimeConfig = await desktopServerOveride(); + const runtimeConfig = await desktopServerOverride(); baseURL = runtimeConfig; }