Fix status update body
This commit is contained in:
parent
53d70b38da
commit
28dc3024f7
@ -71,7 +71,7 @@ pub mod notification {
|
|||||||
#[derive(Debug, serde::Serialize, serde::Deserialize)]
|
#[derive(Debug, serde::Serialize, serde::Deserialize)]
|
||||||
pub struct Input {
|
pub struct Input {
|
||||||
pub adapter_name: String,
|
pub adapter_name: String,
|
||||||
pub status: String,
|
pub body: Vec<u8>,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, serde::Serialize, serde::Deserialize)]
|
#[derive(Debug, serde::Serialize, serde::Deserialize)]
|
||||||
|
@ -154,8 +154,6 @@ async fn main() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// let db = db::Database::build(config.clone()).await;
|
|
||||||
|
|
||||||
let modules = Arc::new(RwLock::new(modules));
|
let modules = Arc::new(RwLock::new(modules));
|
||||||
let mqtt_client = mqtt::start(config.clone(), modules.clone()).await;
|
let mqtt_client = mqtt::start(config.clone(), modules.clone()).await;
|
||||||
rpc::start(config, mqtt_client, modules.clone()).await;
|
rpc::start(config, mqtt_client, modules.clone()).await;
|
||||||
|
Loading…
Reference in New Issue
Block a user