From 9d8bd8c1cfce10379f9ba3494174a7e4d6834dae Mon Sep 17 00:00:00 2001 From: varun Date: Tue, 7 Feb 2023 01:32:45 -0500 Subject: [PATCH] made changes in edit tank info --- src/models/tanks.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/models/tanks.js b/src/models/tanks.js index 7d24b2b8..11eacc37 100644 --- a/src/models/tanks.js +++ b/src/models/tanks.js @@ -9,8 +9,7 @@ const ObjectId = Schema.Types.ObjectId; const code = Math.floor(100000 + Math.random() * 900000); const RoleSchema = new Schema({ name: String }); const tanksSchema = new mongoose.Schema({ - - userName: { type: String, default: null }, + customerId: { type: String, default: null }, tankName: { type: String, default: null }, blockName: { type: String, default: null }, capacity: { type: String, default: null },