From 590667d4d0eec3828fc7f506f5c29269a79e376e Mon Sep 17 00:00:00 2001 From: Varun Date: Wed, 19 Feb 2025 11:21:49 +0530 Subject: [PATCH] changes in store --- src/models/store.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/store.js b/src/models/store.js index 90df39a5..04b2633f 100644 --- a/src/models/store.js +++ b/src/models/store.js @@ -250,7 +250,7 @@ const motorSwitchSensorInSchema = new mongoose.Schema({ const insensorsSchema = new mongoose.Schema({ storeId: { type: String }, - hardwareId: { type: String }, + hardwareId: { type: String ,default:null}, masterId: { type: String, default: null }, type: { type: String }, model: { type: String },