From 3ddabb7f2e2cf66e55805b558a16a1b7cf3037b1 Mon Sep 17 00:00:00 2001 From: Kaleeswari Date: Wed, 2 Feb 2022 11:00:36 +0530 Subject: [PATCH] merge with jeni --- api/routes/api.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/api/routes/api.js b/api/routes/api.js index 2a261c4..7eeaa3d 100644 --- a/api/routes/api.js +++ b/api/routes/api.js @@ -40,7 +40,10 @@ app.post('/addService',async(req,res)=>{ }) }); - +//GET SERVICE LIST +app.get('/',async(req,res)=>{ + res.send("welcome to open close"); +}); //GET SERVICE LIST app.get('/service',async(req,res)=>{ await models.service.findAll({where:{status:1}}).then(result=>{