From 3e769dffc343a264ace14411251aba9ecd6edb42 Mon Sep 17 00:00:00 2001 From: varun Date: Wed, 1 Feb 2023 06:28:38 -0500 Subject: [PATCH] made changes in updatetanks --- src/routes/tanksRoute.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/routes/tanksRoute.js b/src/routes/tanksRoute.js index fc036206..9ca7f01c 100644 --- a/src/routes/tanksRoute.js +++ b/src/routes/tanksRoute.js @@ -58,8 +58,9 @@ module.exports = function (fastify, opts, next) { properties: { tankName: { type: "string", default: null }, blockName: { type: "string", default: null }, - capacity: { type: "number" }, + capacity: { type: "string" }, typeOfWater: { type: "string", default: null }, + type: { type: "string" }, tankLocation: { type: "string", default: null }, }, },