fix: remove 'NOW()' command from SQL INSERT because a timestamp is inserted into the time_submitted property of the record by default through the schema

This commit is contained in:
2025-08-26 12:19:29 -05:00
parent 167b06b0de
commit c31e6290ec

View File

@@ -27,9 +27,8 @@ module.exports = (pool, transporter) => {
email, email,
phone, phone,
contact_method, contact_method,
message, message
time_submitted ) VALUES($1, $2, $3, $4, $5, $6, $7)
) VALUES($1, $2, $3, $4, $5, $6, $7, NOW())
RETURNING *`, RETURNING *`,
[ [
firstName, firstName,