fix: deadline nullable maken om errors te vermijden

This commit is contained in:
Joyelle Ndagijimana 2025-05-13 09:09:46 +02:00
parent 24c8a395d6
commit db55a9bea4
2 changed files with 5 additions and 7 deletions

View file

@ -26,7 +26,7 @@ export class Assignment {
@Property({ type: 'string' })
learningPathHruid!: string;
@Property({ type: 'datetime' })
@Property({ type: 'datetime', nullable: true })
deadline?: Date;
@Enum({