diff --git a/src/routes/notification.js b/src/routes/notification.js
index 2c0849ee2c7b2545f42d098ed0ecdb492a1e8262..cc5c15ff8eeec0856d4cc5d9e65bf5ae9efef797 100644
--- a/src/routes/notification.js
+++ b/src/routes/notification.js
@@ -20,7 +20,7 @@ router.get("/info/:id",(req,res) =>{
     // grab the userid 
     // retrieve all the notifcations stored in the database
   
-    Notification.findById(req.params.id).then((notifiaction) => {
+    Notification.find({userid:req.params.id}).then((notifiaction) => {
       if(!notifiaction){
         return res.status(404).send();
       }