diff --git a/src/main.rs b/src/main.rs index 7a6c049..e999fbf 100644 --- a/src/main.rs +++ b/src/main.rs @@ -89,7 +89,7 @@ fn is_alert_needed( async fn send_email(email: &str, repo: &str, inactive: Duration) -> eyre::Result<()> { use lettre::{AsyncSendmailTransport, AsyncTransport, Message}; let email = Message::builder() - .from("infracoll ".parse().unwrap()) + .from("infracoll ".parse().unwrap()) .to(email.parse()?) .subject(format!("restic-alarm: inactive repository {}", repo)) .body(format!(