From 50b7ecf42dd97002df6bc3caea266030f4f2eb82 Mon Sep 17 00:00:00 2001 From: Jesse de Wit Date: Mon, 13 Nov 2023 15:43:28 +0100 Subject: [PATCH] update C# to 0.2.9 --- snippets/csharp/ListPayments.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snippets/csharp/ListPayments.cs b/snippets/csharp/ListPayments.cs index 3938bf9..c6a574e 100644 --- a/snippets/csharp/ListPayments.cs +++ b/snippets/csharp/ListPayments.cs @@ -8,7 +8,7 @@ public class ListPaymentsSnippets try { var payments = sdk.ListPayments( - new ListPaymentsRequest(PaymentTypeFilter.ALL)); + new ListPaymentsRequest()); } catch (Exception) { @@ -24,7 +24,7 @@ public class ListPaymentsSnippets { var payments = sdk.ListPayments( new ListPaymentsRequest( - PaymentTypeFilter.SENT, + new() { PaymentTypeFilter.SENT }, fromTimestamp: 1696880000, includeFailures: true)); }