chore: ping does not need extra data

This commit is contained in:
mokurin000
2025-07-30 03:22:23 +08:00
parent 1a281e0cc7
commit 704be45e00

View File

@@ -19,7 +19,7 @@ async fn main() -> Result<(), Box<dyn snafu::Error>> {
match cmd.command {
commands::Commands::Ping => {
let decoded = Sdgb1_40::request(&client, APIMethod::Ping, "1", Ping {}).await?;
let decoded = Sdgb1_40::request(&client, APIMethod::Ping, "", Ping {}).await?;
info!("sdgb 1.40 resp: {:?}", String::from_utf8_lossy(&decoded));
let decoded = Sdgb1_50::request(&client, APIMethod::Ping, "", Ping {}).await?;
info!("sdgb 1.50 resp: {:?}", String::from_utf8_lossy(&decoded));