From 7f0673053084700b4d012ed17c7971ddd7e280d4 Mon Sep 17 00:00:00 2001 From: varun Date: Fri, 10 Mar 2023 05:53:04 -0500 Subject: [PATCH] changes in motor status --- src/controllers/tanksController.js | 1 - src/models/tanks.js | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/tanksController.js b/src/controllers/tanksController.js index bd1a8858..75129b46 100644 --- a/src/controllers/tanksController.js +++ b/src/controllers/tanksController.js @@ -240,7 +240,6 @@ exports.getTanklevels = async (req, reply) => { reply.send({ status_code: 200, data: updated_data}); - return { message: 'success' }; } diff --git a/src/models/tanks.js b/src/models/tanks.js index b804b6df..0214b63d 100644 --- a/src/models/tanks.js +++ b/src/models/tanks.js @@ -23,6 +23,7 @@ const tanksSchema = new mongoose.Schema({ outputConnections: [{ outputConnections: String,output_type:String }] } + });