diff --git a/src/controllers/tanksController.js b/src/controllers/tanksController.js index 818eec80..61e0f6c8 100644 --- a/src/controllers/tanksController.js +++ b/src/controllers/tanksController.js @@ -5309,6 +5309,7 @@ async function removeDuplicates() { } } + // Run the remove duplicates function // removeDuplicates(); console.log("this is for testing autopush,line located in tankscontroller") \ No newline at end of file diff --git a/src/models/tanks.js b/src/models/tanks.js index 5792cdb5..9118b338 100644 --- a/src/models/tanks.js +++ b/src/models/tanks.js @@ -110,6 +110,7 @@ const tanksSchema = new mongoose.Schema({ + const motordataSchema = new mongoose.Schema({ customerId: { type: String, default: null }, motor_id: { type: String, default: null },