You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-11-21 23:00:50 +03:00
cargo fmt
This commit is contained in:
@@ -15,4 +15,7 @@
|
|||||||
mod mailer;
|
mod mailer;
|
||||||
mod transport;
|
mod transport;
|
||||||
|
|
||||||
pub use self::{mailer::Mailer, transport::Transport as MailTransport, transport::aws_ses::Transport as AwsSesTransport};
|
pub use self::{
|
||||||
|
mailer::Mailer,
|
||||||
|
transport::{aws_ses::Transport as AwsSesTransport, Transport as MailTransport},
|
||||||
|
};
|
||||||
|
|||||||
@@ -68,7 +68,9 @@ impl Transport {
|
|||||||
|
|
||||||
TransportInner::Smtp(t.build())
|
TransportInner::Smtp(t.build())
|
||||||
}
|
}
|
||||||
EmailTransportConfig::AwsSes => TransportInner::AwsSes(aws_ses::Transport::from_env().await),
|
EmailTransportConfig::AwsSes => {
|
||||||
|
TransportInner::AwsSes(aws_ses::Transport::from_env().await)
|
||||||
|
}
|
||||||
};
|
};
|
||||||
let inner = Arc::new(inner);
|
let inner = Arc::new(inner);
|
||||||
Ok(Self { inner })
|
Ok(Self { inner })
|
||||||
|
|||||||
Reference in New Issue
Block a user