diff options
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index 722d050..88e5a33 100644 --- a/src/main.rs +++ b/src/main.rs @@ -184,14 +184,15 @@ async fn poll_bambu( format!("device/{}/request", serial_number), QoS::AtMostOnce, false, - r#"{ + serde_json::json!({ "pushing": { "sequence_id": "0", "command": "pushall", "version": 1, "push_target": 1 } - }"#, + }) + .to_string(), ) .await { |
