Skip to content

Commit 63cd569

Browse files
authored
Merge pull request #119 from joelchen/main
Fix build errors
2 parents 26d2d2b + 3b2cc0a commit 63cd569

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

crates/app/core/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ use crate::{
77
};
88
use anyhow::{anyhow, bail, Result};
99
use lettre::AsyncTransport;
10+
use lettre::Transport;
1011
use serde::Serialize;
1112
use sqlx::postgres::PgPoolOptions;
1213
use std::{
@@ -117,7 +118,7 @@ impl Mailer {
117118
transport.send(email).await?;
118119
}
119120
Mailer::Testing(transport) => {
120-
transport.send(email).await?;
121+
transport.send(&email)?;
121122
}
122123
};
123124
Ok(())

0 commit comments

Comments
 (0)