diff --git a/src/domain/course-management/enterprise/entities/instructor.ts b/src/domain/course-management/enterprise/entities/instructor.ts index 5ffe3ae..bf9bab7 100644 --- a/src/domain/course-management/enterprise/entities/instructor.ts +++ b/src/domain/course-management/enterprise/entities/instructor.ts @@ -12,8 +12,6 @@ export class Instructor extends User { const instructor = new Instructor( { ...props, - profileImageKey: null, - bannerImageKey: null, registeredAt: props.registeredAt ?? new Date() }, id diff --git a/src/domain/course-management/enterprise/entities/student.ts b/src/domain/course-management/enterprise/entities/student.ts index eeac0ee..a2a2c78 100644 --- a/src/domain/course-management/enterprise/entities/student.ts +++ b/src/domain/course-management/enterprise/entities/student.ts @@ -12,8 +12,6 @@ export class Student extends User { const student = new Student( { ...props, - profileImageKey: null, - bannerImageKey: null, registeredAt: props.registeredAt ?? new Date() }, id