Fix remaining ESLint errors: replace img with Next.js Image, fix useEffect dependency, correct nodemailer method
This commit is contained in:
1 parent
8b189f4caa
commit
6a997d9931
5 files changed
+15
-13
No files matched your search
@@ -244,7 +244,7 @@ export async function GET() {
|
||||
const smtpConfig = configDoc.data();
|
||||
|
||||
// Create transporter
|
||||
const transporter = nodemailer.createTransporter({
|
||||
const transporter = nodemailer.createTransport({
|
||||
host: smtpConfig.host,
|
||||
port: smtpConfig.port,
|
||||
secure: smtpConfig.secure,
|
||||
|
||||
Reference in new issue
Block a user