Skip to content

Commit

Permalink
Changed trait
Browse files Browse the repository at this point in the history
  • Loading branch information
guillemcordoba committed Jan 3, 2024
1 parent e81a586 commit 9ea576d
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ pub trait PendingNotifications {
/// Returning None here means that the notification was not found
fn get_notification(input: GetNotificationInput) -> ExternResult<Option<Notification>>;

fn emit_new_pending_notification(
pending_notification: PendingNotification,
) -> ExternResult<()> {
fn emit_new_pending_notification(notification: Notification) -> ExternResult<()> {
emit_signal(pending_notification)?;

Ok(())
Expand Down

0 comments on commit 9ea576d

Please sign in to comment.