diff --git a/services/collaboration-service/src/db/prisma-db.ts b/services/collaboration-service/src/db/prisma-db.ts index bd4d8375..c5b8b059 100644 --- a/services/collaboration-service/src/db/prisma-db.ts +++ b/services/collaboration-service/src/db/prisma-db.ts @@ -195,6 +195,7 @@ export async function updateRoomText( room_id: string, text: string ): Promise { + if (room_id == null) return; await prisma.room.update({ where: { room_id: room_id,