h
This commit is contained in:
@@ -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]
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user