diff --git a/src/controllers/tankersController.js b/src/controllers/tankersController.js index 1164d0f1..2effcaa4 100644 --- a/src/controllers/tankersController.js +++ b/src/controllers/tankersController.js @@ -200,6 +200,7 @@ exports.tankerBooking = async (req, reply) => { capacity: req.body.capacity, address: req.body.address, dateOfOrder: req.body.dateOfOrder, + price:req.body.price //date: req.body.date, // time: req.body.time, diff --git a/src/routes/tankersRoute.js b/src/routes/tankersRoute.js index 42d3a2c0..4790d1c6 100644 --- a/src/routes/tankersRoute.js +++ b/src/routes/tankersRoute.js @@ -204,6 +204,7 @@ module.exports = function (fastify, opts, next) { capacity: { type: "string" }, address: { type: "string" }, dateOfOrder: { type: "string"}, + price: { type: "string"},