diff --git a/src/routes/tanksRoute.js b/src/routes/tanksRoute.js index 36b8b50a..dfc1bcc6 100644 --- a/src/routes/tanksRoute.js +++ b/src/routes/tanksRoute.js @@ -62,16 +62,10 @@ module.exports = function (fastify, opts, next) { }, }, }, - params: { - required: ["tankName"], - type: "object", - properties: { - tankName: { - type: "string", - description: "tankName", - }, - }, + querystring: { + tankName: {type: 'string'} }, + body: { type: "object", // required: ['phone'],