Skip to content

Commit

Permalink
fix: making installment_number 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 e46ffe6 commit 75b3441
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 @@ -116,7 +116,7 @@ enum AcquirerType {
#[derive(Deserialize, Serialize, Debug)]
#[serde(rename_all = "camelCase")]
struct CreditCardMetadata {
installment_number: i32,
installment_number: Option<i32>,
total_installments: i32,
total_amount: Option<i32>,
#[serde(default, with = "time::serde::iso8601::option")]
Expand Down

0 comments on commit 75b3441

Please sign in to comment.