Skip to content

Commit d28b1cc

Browse files
committed
syn2mas: fix handling of missing Synapse password_config config
Closes #3929
1 parent 0f479d0 commit d28b1cc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crates/syn2mas/src/synapse_reader/config.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ use sqlx::postgres::PgConnectOptions;
1919
#[allow(clippy::struct_excessive_bools)]
2020
pub struct Config {
2121
pub database: DatabaseSection,
22+
23+
#[serde(default)]
2224
pub password_config: PasswordSection,
2325

2426
#[serde(default)]

0 commit comments

Comments
 (0)