chore: ping does not need extra data
This commit is contained in:
@@ -19,7 +19,7 @@ async fn main() -> Result<(), Box<dyn snafu::Error>> {
|
|||||||
|
|
||||||
match cmd.command {
|
match cmd.command {
|
||||||
commands::Commands::Ping => {
|
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));
|
info!("sdgb 1.40 resp: {:?}", String::from_utf8_lossy(&decoded));
|
||||||
let decoded = Sdgb1_50::request(&client, APIMethod::Ping, "", Ping {}).await?;
|
let decoded = Sdgb1_50::request(&client, APIMethod::Ping, "", Ping {}).await?;
|
||||||
info!("sdgb 1.50 resp: {:?}", String::from_utf8_lossy(&decoded));
|
info!("sdgb 1.50 resp: {:?}", String::from_utf8_lossy(&decoded));
|
||||||
|
|||||||
Reference in New Issue
Block a user