diff --git a/src/jobs/index.ts b/src/jobs/index.ts index 8456799..0e2da65 100644 --- a/src/jobs/index.ts +++ b/src/jobs/index.ts @@ -1,6 +1,6 @@ import { Queue, Worker } from "bullmq"; import { Redis } from "ioredis"; -import sendEmail from "@/lib/sendMail"; +// import sendEmail from "@/lib/sendMail"; const redisConnection = new Redis({ host: process.env.REDIS_HOST, @@ -40,7 +40,7 @@ const worker = new Worker( if (!email) { throw new Error("No recipients defined"); } - await sendEmail({ email, name, OTP }); + // await sendEmail({ email, name, OTP }); }, { connection: redisConnection,