fix: dump user region resp
This commit is contained in:
@@ -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 } => {
|
||||||
|
|||||||
Reference in New Issue
Block a user