Skip to content

Commit

Permalink
fix: codefactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohamed-Hacene committed Sep 30, 2024
1 parent d68f8c3 commit 62b9827
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ import type { PageServerLoad } from './$types';
import { z } from 'zod';

export const load = (async ({ fetch, params }) => {
const URLModel = 'requirement-assessments';
const endpoint = `${BASE_API_URL}/${URLModel}/${params.id}/`;
const endpoint = `${BASE_API_URL}/requirement-assessments/${params.id}/`;

const res = await fetch(endpoint);
const requirementAssessment = await res.json();
Expand Down

0 comments on commit 62b9827

Please sign in to comment.