* Using latest 0.1.8 wazuh-client-rs craate which fixes issue with

ordering: (#17)
* Improved unmarshaling for indexer responses
* Other minor changes.
This commit is contained in:
Gianluca Brigandi
2025-12-05 15:52:19 -08:00
parent 8a6bd9e3c6
commit 005e5f89a4
6 changed files with 54 additions and 13 deletions

View File

@@ -54,7 +54,7 @@ impl McpStdioClient {
fn read_response(&mut self) -> Result<Value, Box<dyn std::error::Error>> {
let mut line = String::new();
self.stdout.read_line(&mut line)?;
let response: Value = serde_json::from_str(&line.trim())?;
let response: Value = serde_json::from_str(line.trim())?;
Ok(response)
}