diff --git a/IguideME.Web/Frontend/src/mocks/courses.ts b/IguideME.Web/Frontend/src/mocks/courses.ts index 4caf3bac..6c0ed020 100644 --- a/IguideME.Web/Frontend/src/mocks/courses.ts +++ b/IguideME.Web/Frontend/src/mocks/courses.ts @@ -6,7 +6,7 @@ import { MOCK_STUDENTS } from './users'; export const courseHandlers = [ http.get('/api/courses/:courseId', ({ params }) => { const courseId = params.courseId; - const course = exampleCourses.find((course) => course.id === +courseId); + const course = exampleCourses.find((course) => course.id === +courseId!); if (!course) return new HttpResponse(null, { status: 404 }); return HttpResponse.json(course); @@ -18,7 +18,7 @@ export const courseHandlers = [ http.get('/api/courses/:courseId/students', ({ params }) => { const courseId = params.courseId; - const course = exampleCourses.find((course) => course.id === +courseId); + const course = exampleCourses.find((course) => course.id === +courseId!); if (!course) return new HttpResponse(null, { status: 404 }); return HttpResponse.json(MOCK_STUDENTS); diff --git a/IguideME.Web/Frontend/src/mocks/grades.ts b/IguideME.Web/Frontend/src/mocks/grades.ts index 885406fd..721f6ac3 100644 --- a/IguideME.Web/Frontend/src/mocks/grades.ts +++ b/IguideME.Web/Frontend/src/mocks/grades.ts @@ -19,7 +19,7 @@ export const gradeHandlers = [ if (!type) return HttpResponse.json(); - return HttpResponse.json>(getContentGrades(id, type)); + return HttpResponse.json>(getContentGrades(id!, type)); }), http.get('/tiles/*/grades/*', ({ params }) => { diff --git a/charts/iguideme/Chart.yaml b/charts/iguideme/Chart.yaml index c2cd25c1..70d5fd18 100644 --- a/charts/iguideme/Chart.yaml +++ b/charts/iguideme/Chart.yaml @@ -2,5 +2,5 @@ apiVersion: v2 name: iguideme description: IguideME type: application -version: 0.3.240 -appVersion: "0.3.240" +version: 0.3.241 +appVersion: "0.3.241"