Skip to content

Commit

Permalink
fix: making total_amount optional since it's missing from some
Browse files Browse the repository at this point in the history
transactions
  • Loading branch information
nicolasauler committed Dec 17, 2024
1 parent c03a6bf commit 71b68b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/pluggy/transactions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ enum AcquirerType {
struct CreditCardMetadata {
installment_number: i32,
total_installments: i32,
total_amount: i32,
total_amount: Option<i32>,
#[serde(with = "time::serde::iso8601")]
purchase_date: OffsetDateTime,
payee_mcc: Option<String>,
Expand Down

0 comments on commit 71b68b7

Please sign in to comment.