From 9ea576d48cacb35191d0946ee73c3ce4102cbfac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guillem=20C=C3=B3rdoba?= Date: Wed, 3 Jan 2024 14:39:05 +0100 Subject: [PATCH] Changed trait --- .../crates/hc_zome_trait_pending_notifications/src/lib.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/notifications/crates/hc_zome_trait_pending_notifications/src/lib.rs b/notifications/crates/hc_zome_trait_pending_notifications/src/lib.rs index 29123db..3069aef 100644 --- a/notifications/crates/hc_zome_trait_pending_notifications/src/lib.rs +++ b/notifications/crates/hc_zome_trait_pending_notifications/src/lib.rs @@ -28,9 +28,7 @@ pub trait PendingNotifications { /// Returning None here means that the notification was not found fn get_notification(input: GetNotificationInput) -> ExternResult>; - fn emit_new_pending_notification( - pending_notification: PendingNotification, - ) -> ExternResult<()> { + fn emit_new_pending_notification(notification: Notification) -> ExternResult<()> { emit_signal(pending_notification)?; Ok(())