From c4202f29d1b63365bb0084dfff458a9c393a1a13 Mon Sep 17 00:00:00 2001 From: varun Date: Wed, 1 Mar 2023 00:48:51 -0500 Subject: [PATCH] made changes in tanks.js --- src/models/tanks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/tanks.js b/src/models/tanks.js index 55761744..eab91661 100644 --- a/src/models/tanks.js +++ b/src/models/tanks.js @@ -12,7 +12,7 @@ const tanksSchema = new mongoose.Schema({ customerId: { type: String, default: null }, tankName: { type: String, default: null }, blockName: { type: String, default: null }, - capacity: { type: String, default: null }, + capacity: { type: String, default: "0" }, typeOfWater: { type: String, default: null }, waterlevel: { type: String, default: null }, tankLocation: { type: String, default: null },