diff --git a/src/service/notification.rs b/src/service/notification.rs index 92a8ef8b13dc9bc0a06fc07f9ffa1f92004860db..df4307917250cda5ff2623c468fd901437bf984f 100644 --- a/src/service/notification.rs +++ b/src/service/notification.rs @@ -95,4 +95,8 @@ impl NotificationService { let subscriber_result: Notification = NotificationRepository::add(payload); return Ok(subscriber_result); } + + pub fn list_message() -> Result<Vec<String>> { + return Ok(NotificationRepository::list_all_as_string()); + } } \ No newline at end of file