diff --git a/src/main.rs b/src/main.rs index 1130654..07c0ee6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -200,14 +200,14 @@ async fn update_subscribers(_request: Request) -> http_types::Result = serde_json::from_reader(reader)?; println!("{:#?}", val); let to_do = ¤t - &val; - println!("You will be notified for: {:#?}", to_do); - let _ = send_notification( + println!("They will be notified for: {:#?}", to_do); + send_notification( &file_name, &to_do, page.pr_number.as_ref().unwrap(), page.pr_title.as_ref().unwrap(), !remaining, - ); + )?; } } if !remaining {