From 18f6b856fcace5b16869ab059ff2c081331ec010 Mon Sep 17 00:00:00 2001 From: tr00d Date: Mon, 18 Sep 2023 07:58:59 +0200 Subject: [PATCH] Add missing optional parameter for VerifyClient --- Vonage/Verify/VerifyClient.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Vonage/Verify/VerifyClient.cs b/Vonage/Verify/VerifyClient.cs index ae5d98218..bf1ed9343 100644 --- a/Vonage/Verify/VerifyClient.cs +++ b/Vonage/Verify/VerifyClient.cs @@ -1,4 +1,4 @@ -using System.Threading.Tasks; +using System.Threading.Tasks; using Vonage.Request; namespace Vonage.Verify; @@ -15,7 +15,7 @@ public void ValidateVerifyResponse(VerifyResponseBase response) { throw new VonageVerifyResponseException( $"Verify Request Failed with status: {response.Status} and Error Text: {response.ErrorText}") - {Response = response}; + { Response = response }; } } @@ -93,7 +93,7 @@ public VerifyResponse VerifyRequestWithPSD2(Psd2Request request, Credentials cre return response; } - public async Task VerifyRequestWithPSD2Async(Psd2Request request, Credentials creds) + public async Task VerifyRequestWithPSD2Async(Psd2Request request, Credentials creds = null) { var response = await new ApiRequest(creds ?? this.Credentials) .DoPostRequestUrlContentFromObjectAsync(