Skip to content

Commit 453e1db

Browse files
committed
Fix usage of homeserver_connection_from_config
1 parent 884c668 commit 453e1db

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

crates/cli/src/commands/manage.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,8 @@ impl Options {
325325
let matrix_config =
326326
MatrixConfig::extract(figment).map_err(anyhow::Error::from_boxed)?;
327327
let http_client = mas_http::reqwest_client();
328-
let homeserver = homeserver_connection_from_config(&matrix_config, http_client);
328+
let homeserver =
329+
homeserver_connection_from_config(&matrix_config, http_client).await?;
329330
let mut conn = database_connection_from_config(&database_config).await?;
330331
let txn = conn.begin().await?;
331332
let mut repo = PgRepository::from_conn(txn);

0 commit comments

Comments
 (0)