Fix status update body

This commit is contained in:
Adrian Woźniak 2022-12-16 17:32:04 +01:00
parent 53d70b38da
commit 28dc3024f7
2 changed files with 1 additions and 3 deletions

View File

@ -71,7 +71,7 @@ pub mod notification {
#[derive(Debug, serde::Serialize, serde::Deserialize)]
pub struct Input {
pub adapter_name: String,
pub status: String,
pub body: Vec<u8>,
}
#[derive(Debug, serde::Serialize, serde::Deserialize)]

View File

@ -154,8 +154,6 @@ async fn main() {
}
}
// let db = db::Database::build(config.clone()).await;
let modules = Arc::new(RwLock::new(modules));
let mqtt_client = mqtt::start(config.clone(), modules.clone()).await;
rpc::start(config, mqtt_client, modules.clone()).await;