Skip to content

Commit 24d22da

Browse files
committed
fixed small error with activity
1 parent a181113 commit 24d22da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

misc/mockDB/activityMock.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ const generateRandomActivity = (
3333
course: randomCourse, // Assuming `randomCourse` is an object with an _id property
3434
faculty: randomFaculty, // Assuming `randomFaculty` is an object with an _id property
3535
task: taskIds, // Assuming `task` is an object with an _id property (from tutorialList, practicalList, or topicList)
36+
type: activityType, // Assuming `task` is an object with an _id property (from tutorialList, practicalList, or topicList)
3637
group: randomGroup, // Assuming `randomGroup` is an object with an _id property
3738
students: studentsIds, // Assuming each student object in `studentList` has an _id property
3839
};

0 commit comments

Comments
 (0)