update scheduleDate props
This commit is contained in:
@@ -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,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user