fix: remove extra placeholder in SQL INSERT command to match payload array.

This commit is contained in:
2025-08-26 12:00:52 -05:00
parent efc045ede4
commit 9e7ab1e78d

View File

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