Skip to content

Commit

Permalink
fix: making total_installments optional on list transactions
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasauler committed Dec 18, 2024
1 parent 75b3441 commit 6d478dd
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 @@ -117,7 +117,7 @@ enum AcquirerType {
#[serde(rename_all = "camelCase")]
struct CreditCardMetadata {
installment_number: Option<i32>,
total_installments: i32,
total_installments: Option<i32>,
total_amount: Option<i32>,
#[serde(default, with = "time::serde::iso8601::option")]
purchase_date: Option<OffsetDateTime>,
Expand Down

0 comments on commit 6d478dd

Please sign in to comment.