From 6d478ddbac4cd5d799a47cebe7653bf940bbb9bf Mon Sep 17 00:00:00 2001 From: Nicolas Auler Date: Wed, 18 Dec 2024 01:13:49 -0300 Subject: [PATCH] fix: making total_installments optional on list transactions --- src/client/pluggy/transactions.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/pluggy/transactions.rs b/src/client/pluggy/transactions.rs index e209c2d..61c88bb 100644 --- a/src/client/pluggy/transactions.rs +++ b/src/client/pluggy/transactions.rs @@ -117,7 +117,7 @@ enum AcquirerType { #[serde(rename_all = "camelCase")] struct CreditCardMetadata { installment_number: Option, - total_installments: i32, + total_installments: Option, total_amount: Option, #[serde(default, with = "time::serde::iso8601::option")] purchase_date: Option,