From 8ab46c955a6cb1c92d2a7b6a34314ef8ce1c371e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=20Jurmanovi=C4=87?= Date: Sat, 8 Feb 2025 16:27:49 +0100 Subject: [PATCH] remove console logs --- src/api/apiService.ts | 2 -- src/components/ConfigEditor.svelte | 1 - src/routes/dashboard/+page.server.ts | 1 - 3 files changed, 4 deletions(-) diff --git a/src/api/apiService.ts b/src/api/apiService.ts index 727849c..834ea7e 100644 --- a/src/api/apiService.ts +++ b/src/api/apiService.ts @@ -17,8 +17,6 @@ async function fetchAPI(endpoint: string, method: string = 'GET', body?: object) body: body ? JSON.stringify(body) : null }); - console.log(`${BASE_URL}${endpoint}`, body, method, token); - if (!response.ok) { if (endpoint != '/api' && response.status == 401) { authStore.set({ diff --git a/src/components/ConfigEditor.svelte b/src/components/ConfigEditor.svelte index bebdf3d..582d9b0 100644 --- a/src/components/ConfigEditor.svelte +++ b/src/components/ConfigEditor.svelte @@ -2,7 +2,6 @@ let { config, tracks, id } = $props(); let editedConfig = { ...config['event'] }; editedConfig.sessions = JSON.stringify(editedConfig.sessions); - console.log(editedConfig);
diff --git a/src/routes/dashboard/+page.server.ts b/src/routes/dashboard/+page.server.ts index 5b16f02..4c97fd5 100644 --- a/src/routes/dashboard/+page.server.ts +++ b/src/routes/dashboard/+page.server.ts @@ -16,7 +16,6 @@ export const actions = { }, restart: async ({ request }) => { const id = (await request.formData()).get('id') as string; - console.log(id); await restartService(+id); }, stop: async ({ request }) => {