diff --git a/src/routes/notification.js b/src/routes/notification.js
index cc5c15ff8eeec0856d4cc5d9e65bf5ae9efef797..e2fb9e28a706097aa35df84866104c041c4c529f 100644
--- a/src/routes/notification.js
+++ b/src/routes/notification.js
@@ -35,19 +35,21 @@ router.get("/info/:id",(req,res) =>{
   })
   
   
-  router.delete("/delete",(req,res) =>{
-    
+  router.delete("/delete/:id",(req,res) =>{
+    //64216d2a4341c23ccfa83506
     // delete the notifications
-    // grab the user id and the notification id
-    const user_id = req.body['user_id'];
-    const notification_id= req.body['notification_id'];
-  
+    // grab the notification id
     // delete on the database
     
+    Notification.findByIdAndDelete(req.params.id).then((notifiaction) => {
+      if(!notifiaction){
+        return res.status(404).send();
+      }
+      res.send(notifiaction);
+    }).catch((error) => {
+      res.status(500).send(error);
+    })
 
-  
-  
-  
   })