From 35b9812fe317a91fc000e1cac4126f152fe19e57 Mon Sep 17 00:00:00 2001 From: "gitauto-ai[bot]" <161652217+gitauto-ai[bot]@users.noreply.github.com> Date: Mon, 4 Nov 2024 00:19:57 +0000 Subject: [PATCH] Update Src/VTEX/VTEXWrapper.cs --- Src/VTEX/VTEXWrapper.cs | 35 ++++++++++++++--------------------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/Src/VTEX/VTEXWrapper.cs b/Src/VTEX/VTEXWrapper.cs index 5fda09c4f..1f34016ea 100644 --- a/Src/VTEX/VTEXWrapper.cs +++ b/Src/VTEX/VTEXWrapper.cs @@ -11,25 +11,18 @@ // // namespace VTEX -{ -// *********************************************************************** - using System; - using System.Collections.Generic; - using System.ComponentModel; - using System.Linq; - using System.Net; - using System.Net.Http; - using System.Net.Http.Headers; - using System.Text; - using System.Threading; - using System.Threading.Tasks; - using System.Threading.Tasks; - using CrispyWaffle.Extensions; - using CrispyWaffle.Log; - using CrispyWaffle.Telemetry; - using CrispyWaffle.Utilities; - using Enums; - using GoodPractices; +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Net; +using System.Net.Http; +using System.Net.Http.Headers; +using System.Text; +using System.Threading; +using System.Threading.Tasks; +using CrispyWaffle.Extensions; +using CrispyWaffle.Log; /// /// Class Wrapper. This class cannot be inherited. @@ -86,7 +79,7 @@ private static string InternalUserAgent var assembly = System .Reflection.Assembly.GetAssembly(typeof(VTEXWrapper)) .GetName(); - _internalUserAgent = $@"{assembly.Name}/{assembly.Version}"; + _internalUserAgent = $"{assembly.Name}/{assembly.Version}"; return _internalUserAgent; } } @@ -557,7 +550,7 @@ ref requiresAuthentication /// The port. /// if set to true [requires authentication]. /// System.String. - ref string endpoint, + private string GetHostData( ref string endpoint, ref Dictionary queryString, RequestEndpoint restEndpoint,