From 57ad45df313761b43905d0558c417a7fe293a07c Mon Sep 17 00:00:00 2001 From: tr00d Date: Fri, 26 Jul 2024 16:12:41 +0200 Subject: [PATCH] fix: empty configuration when using the services extension --- Vonage/VonageClient.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Vonage/VonageClient.cs b/Vonage/VonageClient.cs index 7391c022..a7f4aa87 100644 --- a/Vonage/VonageClient.cs +++ b/Vonage/VonageClient.cs @@ -1,3 +1,4 @@ +#region using System; using System.IO.Abstractions; using System.Net.Http; @@ -27,6 +28,7 @@ using Vonage.VerifyV2; using Vonage.Video; using Vonage.Voice; +#endregion namespace Vonage; @@ -54,7 +56,7 @@ internal VonageClient(Credentials credentials, Configuration configuration, ITim internal VonageClient(Configuration configuration) { - this.configuration = this.GetConfiguration(); + this.configuration = configuration; this.Credentials = configuration.BuildCredentials(); }