From c044f54671f2987ac96a58db839edb5ea2cb015e Mon Sep 17 00:00:00 2001 From: Felix P Date: Mon, 25 Mar 2024 10:15:22 +0100 Subject: [PATCH] Cleanup --- visual-dotnet/SauceLabs.Visual/VisualClient.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/visual-dotnet/SauceLabs.Visual/VisualClient.cs b/visual-dotnet/SauceLabs.Visual/VisualClient.cs index 55216509..e94c4ed9 100644 --- a/visual-dotnet/SauceLabs.Visual/VisualClient.cs +++ b/visual-dotnet/SauceLabs.Visual/VisualClient.cs @@ -75,11 +75,11 @@ public static async Task Create(WebDriver wd, Region region, strin public static async Task Create(WebDriver wd, Region region, string username, string accessKey, CreateBuildOptions buildOptions) { var client = new VisualClient(wd, region, username, accessKey); - await client.SetupBuild(region, username, accessKey, buildOptions); + await client.SetupBuild(buildOptions); return client; } - private async Task SetupBuild(Region region, string username, string accessKey, CreateBuildOptions buildOptions) + private async Task SetupBuild(CreateBuildOptions buildOptions) { var response = await _api.WebDriverSessionInfo(_jobId, _sessionId); var metadata = response.EnsureValidResponse();