remove main wallet from parsed response

This commit is contained in:
Tanner Sommers 2024-12-03 20:03:01 -06:00
parent d0599543bb
commit 7aaf803dc0
2 changed files with 3 additions and 2 deletions

View File

@ -81,7 +81,9 @@ impl Fansly {
println!("[sync::process::get_profile] Got successful response from API.");
}
let profile: FanslyBaseResponse<FanslyAccountResponse> = response.json().await?;
let profile = response
.json::<FanslyBaseResponse<FanslyAccountResponse>>()
.await?;
Ok(profile)
}

View File

@ -105,7 +105,6 @@ pub struct Account {
pub status_id: i64,
pub last_seen_at: i64,
pub post_likes: i64,
pub main_wallet: MainWallet,
pub streaming: Streaming,
pub account_media_likes: i64,
pub earnings_wallet: EarningsWallet,