fix: dump user region resp

This commit is contained in:
mokurin000
2025-08-03 20:02:57 +08:00
parent 90a3fc09df
commit a698434526

View File

@@ -323,9 +323,11 @@ async fn main() -> Result<(), Box<dyn snafu::Error>> {
} }
#[cfg(feature = "fetchall")] #[cfg(feature = "fetchall")]
Commands::ScrapeAllRegionDump {} => { Commands::ScrapeAllRegionDump {} => {
use sdgb_api::title::model::GetUserRegionApiResp;
use crate::{cache::REGIONS, utils::helpers::dump_cache}; use crate::{cache::REGIONS, utils::helpers::dump_cache};
dump_cache::<GetUserRatingApiResp>("region.json", REGIONS)?; dump_cache::<GetUserRegionApiResp>("region.json", REGIONS)?;
} }
Commands::Userdata { user_id } => { Commands::Userdata { user_id } => {