You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-11-20 12:02:22 +03:00
Dedicated HTTP server/client crate
Also have better names for the HTTP routes
This commit is contained in:
@@ -35,7 +35,8 @@ impl Transport {
|
||||
/// Constructs a [`Transport`] from a given AWS shared config
|
||||
#[must_use]
|
||||
pub fn new(config: &aws_config::Config) -> Self {
|
||||
let client = Client::new(config);
|
||||
let config = aws_sdk_sesv2::Config::from(config);
|
||||
let client = Client::from_conf(config);
|
||||
Self { client }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user