This commit is contained in:
2025-08-26 02:01:10 -05:00
parent 98b38278b3
commit 0b00a63ce6

View File

@@ -7,7 +7,7 @@ module.exports = (pool, transporter) => {
try { try {
const result = await pool.query( const result = await pool.query(
`INSERT INTO submissions(first_name, last_name, organization, email, phone, contact_method, message, privacy_accepted, time_submitted) `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] [firstName, lastName, organization, email, phone, contactMethod, message, privacyAccepted]
); );