remove console logs
This commit is contained in:
@@ -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({
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
let { config, tracks, id } = $props();
|
||||
let editedConfig = { ...config['event'] };
|
||||
editedConfig.sessions = JSON.stringify(editedConfig.sessions);
|
||||
console.log(editedConfig);
|
||||
</script>
|
||||
|
||||
<form method="POST" action="?/event">
|
||||
|
||||
@@ -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 }) => {
|
||||
|
||||
Reference in New Issue
Block a user