From a68ed2378e08c8b55e9945a69e0d37df0cef8694 Mon Sep 17 00:00:00 2001 From: Nassim Tabchiche Date: Sat, 23 Nov 2024 19:38:24 +0100 Subject: [PATCH] chore: Remove debug logs --- .../src/lib/components/Forms/ModelForm/RiskScenarioForm.svelte | 1 - .../(app)/(internal)/risk-scenarios/default-ref-id/+server.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/frontend/src/lib/components/Forms/ModelForm/RiskScenarioForm.svelte b/frontend/src/lib/components/Forms/ModelForm/RiskScenarioForm.svelte index df5b60e9c..d231f1f14 100644 --- a/frontend/src/lib/components/Forms/ModelForm/RiskScenarioForm.svelte +++ b/frontend/src/lib/components/Forms/ModelForm/RiskScenarioForm.svelte @@ -21,7 +21,6 @@ `/risk-scenarios/default-ref-id/?risk_assessment=${riskAssessmentId}` ); const result = await response.json(); - console.log(result); if (response.ok && result.results) { form.form.update((currentData) => { updated_fields.add('ref_id'); diff --git a/frontend/src/routes/(app)/(internal)/risk-scenarios/default-ref-id/+server.ts b/frontend/src/routes/(app)/(internal)/risk-scenarios/default-ref-id/+server.ts index 036c5a014..439570e63 100644 --- a/frontend/src/routes/(app)/(internal)/risk-scenarios/default-ref-id/+server.ts +++ b/frontend/src/routes/(app)/(internal)/risk-scenarios/default-ref-id/+server.ts @@ -3,7 +3,6 @@ import { BASE_API_URL } from '$lib/utils/constants'; import { error } from '@sveltejs/kit'; import type { RequestHandler } from './$types'; export const GET: RequestHandler = async ({ fetch, url }) => { - console.log(url); const riskAssessmentId = url.searchParams.get('risk_assessment'); const endpoint = `${BASE_API_URL}/risk-scenarios/default_ref_id/?risk_assessment=${riskAssessmentId}`;