diff --git a/ExpressAPI/src/types/DatabaseTypes.ts b/ExpressAPI/src/types/DatabaseTypes.ts index ae95e3bfb03a2b7c52dab17b486f36439ae139f6..14e9b00a7f35a210302854e69c94dcc2f4dc63b4 100644 --- a/ExpressAPI/src/types/DatabaseTypes.ts +++ b/ExpressAPI/src/types/DatabaseTypes.ts @@ -35,6 +35,6 @@ export type Exercise = Prisma.ExerciseGetPayload<typeof exerciseBase> & { isCorrection: boolean } export type Assignment = Prisma.AssignmentGetPayload<typeof assignmentBase> & { - corrections: LazyVal<Exercise> + corrections: LazyVal<Array<Exercise>> } export type Result = Prisma.ResultGetPayload<typeof resultBase> \ No newline at end of file