diff --git a/src/repository/notification.rs b/src/repository/notification.rs
index c3acb0e8ffe221f49103423e60ad562a05cb9572..b02221ab617328df41a9c1e509c5d44010f39a15 100644
--- a/src/repository/notification.rs
+++ b/src/repository/notification.rs
@@ -12,4 +12,9 @@ lazy_static! {
 pub struct NotificationRepository;
 
 impl NotificationRepository {
+    pub fn add(notification: Notification) -> Notification {
+        NOTIFICATIONS.write().unwrap()
+            .push(notification.clone());
+        return notification;
+    }    
 }