diff --git a/src/routes/tankersRoute.js b/src/routes/tankersRoute.js index de7d83a3..2e5b00a5 100644 --- a/src/routes/tankersRoute.js +++ b/src/routes/tankersRoute.js @@ -362,7 +362,7 @@ module.exports = function (fastify, opts, next) { }, ], }, - //preHandler: fastify.auth([fastify.authenticate]), + preHandler: fastify.auth([fastify.authenticate]), handler: tankersController.getAllTankersBookingdetails, });