Skip to content

Commit

Permalink
fix: making more credit card metadata fields nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasauler committed Dec 17, 2024
1 parent 71b68b7 commit 4ebcbe9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/client/pluggy/transactions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,10 @@ struct CreditCardMetadata {
installment_number: i32,
total_installments: i32,
total_amount: Option<i32>,
#[serde(with = "time::serde::iso8601")]
purchase_date: OffsetDateTime,
#[serde(default, with = "time::serde::iso8601::option")]
purchase_date: Option<OffsetDateTime>,
payee_mcc: Option<String>,
card_number: String,
card_number: Option<String>,
bill_id: String,
}

Expand Down

0 comments on commit 4ebcbe9

Please sign in to comment.