From 0b00a63ce62c9eb79b84d457a7524423919ba88a Mon Sep 17 00:00:00 2001 From: dereklseitz Date: Tue, 26 Aug 2025 02:01:10 -0500 Subject: [PATCH] h --- controllers/contactController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/contactController.js b/controllers/contactController.js index 0accfa1..e27ec0a 100644 --- a/controllers/contactController.js +++ b/controllers/contactController.js @@ -7,7 +7,7 @@ module.exports = (pool, transporter) => { try { const result = await pool.query( `INSERT INTO submissions(first_name, last_name, organization, email, phone, contact_method, message, privacy_accepted, time_submitted) - VALUES($1, $2, $3, $4, $5, $6, $7, $8) RETURNING *`, + VALUES($1, $2, $3, $4, $5, $6, $7, $8, NOW()) RETURNING *`, [firstName, lastName, organization, email, phone, contactMethod, message, privacyAccepted] );