update scheduleDate props

This commit is contained in:
2024-11-25 15:02:56 +07:00
parent 0f7bb3367e
commit 6d509a4487
3 changed files with 3 additions and 3 deletions

View File

@@ -83,7 +83,7 @@ export class CollaborationSessionSchema extends PothosSchema {
if (!scheduleDate) throw new Error('Schedule date not found')
let collaborationSession: CollaborationSession | null = null
collaborationSession =
await this.prisma.collaborationSession.findUniqueOrThrow({
await this.prisma.collaborationSession.findUnique({
where: {
scheduleDateId: scheduleDate.id,
},