Skip to content

Commit

Permalink
chore: Remove debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
nas-tabchiche committed Nov 23, 2024
1 parent 06ee1d8 commit a68ed23
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}`;

Expand Down

0 comments on commit a68ed23

Please sign in to comment.