Explorar el Código

Flatten team structure into ping configuration

Mark Rousskov hace 5 años
padre
commit
28abf02c7c
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/config.rs

+ 1 - 0
src/config.rs

@@ -25,6 +25,7 @@ pub(crate) struct Config {
 pub(crate) struct PingConfig {
     // team name -> message
     // message will have the cc string appended
+    #[serde(flatten)]
     pub(crate) teams: HashMap<String, PingTeamConfig>,
 }