remove main wallet from parsed response
This commit is contained in:
parent
d0599543bb
commit
7aaf803dc0
@ -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)
|
||||
}
|
||||
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user