diff --git a/serwer/app/func.js b/serwer/app/func.js index 3d36487..a52b1c0 100644 --- a/serwer/app/func.js +++ b/serwer/app/func.js @@ -257,6 +257,7 @@ function sendEmail(imie, nazwisko, suma, email) function checkSendEmail(email) { const nodemailer = require('nodemailer'); + const fs = require('fs'); const transporter = nodemailer.createTransport({ host: process.env.SMTPHOST, port: process.env.SMTPPORT,