Fakultas Ilmu Komputer UI

Skip to content
Snippets Groups Projects
Commit 5a53b5dd authored by Ida Made Revindra Dikta Mahendra's avatar Ida Made Revindra Dikta Mahendra
Browse files

[CHORE]: Implement receive_notification function in Notification service

parent 53647bc8
No related branches found
No related tags found
No related merge requests found
......@@ -91,4 +91,9 @@ impl NotificationService {
))
}
}
pub fn receive_notification(payload: Notification) -> Result<Notification> {
let subscriber_result: Notification = NotificationRepository::add(payload);
return Ok(subscriber_result);
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment