Email OTP

help How can i only send opt if the previous has expired or does not exist
async sendVerificationOTP({ email, otp, type }) {
if (type === "email-verification") {
await mailer()
}
}
Was this page helpful?