mirror of
https://github.com/element-hq/matrix-authentication-service.git
synced 2026-05-14 08:15:16 +00:00
Fix usage of homeserver_connection_from_config
This commit is contained in:
@@ -325,7 +325,8 @@ impl Options {
|
||||
let matrix_config =
|
||||
MatrixConfig::extract(figment).map_err(anyhow::Error::from_boxed)?;
|
||||
let http_client = mas_http::reqwest_client();
|
||||
let homeserver = homeserver_connection_from_config(&matrix_config, http_client);
|
||||
let homeserver =
|
||||
homeserver_connection_from_config(&matrix_config, http_client).await?;
|
||||
let mut conn = database_connection_from_config(&database_config).await?;
|
||||
let txn = conn.begin().await?;
|
||||
let mut repo = PgRepository::from_conn(txn);
|
||||
|
||||
Reference in New Issue
Block a user