aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2022-06-03 11:38:01 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2022-06-03 11:38:01 +0200
commit64e64bed433eb6d498add8fdf7c8405f0fa7e64c (patch)
tree37843d722eccc30ca40bd3a1e138e0c1f61ae40f /src/main.rs
parentd0128a6d8a8e99976bae1be5aa7b3597893fac23 (diff)
downloadaerogramme-64e64bed433eb6d498add8fdf7c8405f0fa7e64c.tar.gz
aerogramme-64e64bed433eb6d498add8fdf7c8405f0fa7e64c.zip
Pass data through the stack
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 3c2ef7f..8a8a255 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -122,7 +122,7 @@ async fn main() -> Result<()> {
Command::Server { config_file } => {
let config = read_config(config_file)?;
- let server = Server::new(config)?;
+ let server = Server::new(config).await?;
server.run().await?;
}
Command::FirstLogin {