Gitlab@Informatics

Skip to content
Snippets Groups Projects
Commit 2883f3a1 authored by 65160394's avatar 65160394
Browse files

Project Round 3

parent feeb61ce
No related branches found
No related tags found
No related merge requests found
......@@ -97,7 +97,7 @@ exports.createTour = async (req, res) => {
}
await pool.query(
'INSERT INTO tours (name, location, price, description) VALUES (?, ?, ?, ?)',
'INSERT INTO tours (name, description, price, duration) VALUES (?, ?, ?, ?)',
[name, description, price, duration]
);
res.redirect('/');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment