From a698434526b1258d48ede90d2cff14d8de52fad8 Mon Sep 17 00:00:00 2001 From: mokurin000 <1348292515a@gmail.com> Date: Sun, 3 Aug 2025 20:02:57 +0800 Subject: [PATCH] fix: dump user region resp --- sdgb-cli/src/main.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sdgb-cli/src/main.rs b/sdgb-cli/src/main.rs index 5bf3ffd..82662f8 100644 --- a/sdgb-cli/src/main.rs +++ b/sdgb-cli/src/main.rs @@ -323,9 +323,11 @@ async fn main() -> Result<(), Box> { } #[cfg(feature = "fetchall")] Commands::ScrapeAllRegionDump {} => { + use sdgb_api::title::model::GetUserRegionApiResp; + use crate::{cache::REGIONS, utils::helpers::dump_cache}; - dump_cache::("region.json", REGIONS)?; + dump_cache::("region.json", REGIONS)?; } Commands::Userdata { user_id } => {