hunk.code_window:         })
         : undefined;
     if (!updatedMeeting) {
       return {
         type: credential.type,
         success,
         uid,
         originalEvent: calEvent,
       };
     }
     try {
       const organizerMail = new EventOrganizerRescheduledMail(calEvent);
       await organizerMail.sendEmail();
     } catch (e) {
       console.error("organizerMail.sendEmail failed", e);
  
hunk.labels: keep keep keep replace replace replace replace replace replace replace replace replace keep keep keep keep keep
hunk.file_path: lib/videoClient.ts
hunk.type: replace
file: import { PrismaClient } from "@prisma/client";
  
  declare global {
    // eslint-disable-next-line no-var
    var prisma: PrismaClient | undefined;
  }
  
  export const prisma =
    globalThis.prisma ||
    new PrismaClient({
      log: ["query", "error", "warn"],
    });
  
  if (process.env.NODE_ENV !== "production") {
    globalThis.prisma = prisma;
  }
  
  export default prisma;
  