remove console logs

This commit is contained in:
Fran Jurmanović
2025-02-08 16:27:49 +01:00
parent 9d3ad6a452
commit 8ab46c955a
3 changed files with 0 additions and 4 deletions

View File

@@ -17,8 +17,6 @@ async function fetchAPI(endpoint: string, method: string = 'GET', body?: object)
body: body ? JSON.stringify(body) : null body: body ? JSON.stringify(body) : null
}); });
console.log(`${BASE_URL}${endpoint}`, body, method, token);
if (!response.ok) { if (!response.ok) {
if (endpoint != '/api' && response.status == 401) { if (endpoint != '/api' && response.status == 401) {
authStore.set({ authStore.set({

View File

@@ -2,7 +2,6 @@
let { config, tracks, id } = $props(); let { config, tracks, id } = $props();
let editedConfig = { ...config['event'] }; let editedConfig = { ...config['event'] };
editedConfig.sessions = JSON.stringify(editedConfig.sessions); editedConfig.sessions = JSON.stringify(editedConfig.sessions);
console.log(editedConfig);
</script> </script>
<form method="POST" action="?/event"> <form method="POST" action="?/event">

View File

@@ -16,7 +16,6 @@ export const actions = {
}, },
restart: async ({ request }) => { restart: async ({ request }) => {
const id = (await request.formData()).get('id') as string; const id = (await request.formData()).get('id') as string;
console.log(id);
await restartService(+id); await restartService(+id);
}, },
stop: async ({ request }) => { stop: async ({ request }) => {