Skip to content

Commit

Permalink
every to some
Browse files Browse the repository at this point in the history
  • Loading branch information
LomyW committed Jul 20, 2023
1 parent 2e7d386 commit 31ee30b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/chat/contacts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ const getInstructorsForPupilSubcourses = async (pupil: User): Promise<SubcourseC
allowChatContactParticipants: true,
subcourse_participants_pupil: { some: { pupilId: pupil.pupilId } },
cancelled: false,
lecture: { every: { start: { gte: today } } },
lecture: { some: { start: { gte: today } } },
},
},
},
Expand Down Expand Up @@ -151,7 +151,7 @@ const getSubcourseParticipantContactForUser = async (student: User): Promise<Sub
allowChatContactParticipants: true,
subcourse_instructors_student: { some: { studentId: student.studentId } },
cancelled: false,
lecture: { every: { start: { gte: today } } },
lecture: { some: { start: { gte: today } } },
},
},
},
Expand Down

0 comments on commit 31ee30b

Please sign in to comment.