From 69b0b7d30313850a4796944d28151ae2a91c2f15 Mon Sep 17 00:00:00 2001 From: varun Date: Tue, 7 Feb 2023 02:02:39 -0500 Subject: [PATCH] made changes in tanks linked with customer id --- src/routes/tanksRoute.js | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) 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'],