chore: sdgb 1.40 stopped service

This commit is contained in:
mokurin000
2025-08-02 00:08:21 +08:00
parent 780785b7ea
commit 000251df65
3 changed files with 2 additions and 62 deletions

View File

@@ -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}");