chore: sdgb 1.40 stopped service
This commit is contained in:
@@ -12,7 +12,7 @@ use sdgb_api::{
|
||||
auth_lite::{SDGB, SDHJ, delivery_raw},
|
||||
helper::MUSIC_DB,
|
||||
title::{
|
||||
MaiVersionExt, Sdgb1_40, Sdgb1_50,
|
||||
MaiVersionExt, Sdgb1_50,
|
||||
methods::APIMethod,
|
||||
model::{
|
||||
DataVersion, DxCalculatedEntries, DxRatingNet, GetUserDataApi, GetUserDataApiResp,
|
||||
@@ -167,14 +167,6 @@ async fn main() -> Result<(), Box<dyn snafu::Error>> {
|
||||
human_readable_display(preview, human_readable)?;
|
||||
}
|
||||
commands::Commands::Ping => {
|
||||
let decoded: PingResp = Sdgb1_40::request(
|
||||
&client,
|
||||
APIMethod::Ping,
|
||||
"",
|
||||
Ping {}, // note: must not be `Ping`, or serde_json serializes to nothing
|
||||
)
|
||||
.await?;
|
||||
info!("sdgb 1.40 resp: {decoded}");
|
||||
let decoded: PingResp =
|
||||
Sdgb1_50::request(&client, APIMethod::Ping, "", Ping {}).await?;
|
||||
info!("sdgb 1.50 resp: {decoded}");
|
||||
|
||||
Reference in New Issue
Block a user