From 8b981fee1c12031e44a9f85293245285c2144a1a Mon Sep 17 00:00:00 2001 From: Varun Date: Mon, 25 Nov 2024 11:10:47 +0530 Subject: [PATCH] changes in tanks edit --- src/routes/tanksRoute.js | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/routes/tanksRoute.js b/src/routes/tanksRoute.js index 4b312761..1521856c 100644 --- a/src/routes/tanksRoute.js +++ b/src/routes/tanksRoute.js @@ -76,12 +76,16 @@ module.exports = function (fastify, opts, next) { // required: ['phone'], properties: { - - blockName: { type: "string", default: null }, - capacity: { type: "string" }, - typeOfWater: { type: "string", default: null }, - type: { type: "string" }, - tankLocation: { type: "string", default: null }, + tankhardwareId: { type: "string" }, + hardwareId: { type: "string" }, + tankName: { type: "string" }, + blockName: { type: "string"}, + capacity: { type: "string" }, + // customerId: { type: "string" }, + typeOfWater: { type: "string" }, + waterCapacityPerCm:{ type: "string" }, + tankLocation: { type: "string" }, + height:{ type: "string" }, }, }, security: [