From d4734c0892eeffb1f86c0c584d9971ec9a7a945a Mon Sep 17 00:00:00 2001 From: Robin Rolf Date: Wed, 8 Nov 2023 20:00:47 +0100 Subject: [PATCH] fix: EdgegapHosting connect uses passed-in name/version (#3646) --- Assets/Mirror/Hosting/Edgegap/Editor/EdgegapWindow.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Mirror/Hosting/Edgegap/Editor/EdgegapWindow.cs b/Assets/Mirror/Hosting/Edgegap/Editor/EdgegapWindow.cs index 08438f02e..a8d5ab28e 100755 --- a/Assets/Mirror/Hosting/Edgegap/Editor/EdgegapWindow.cs +++ b/Assets/Mirror/Hosting/Edgegap/Editor/EdgegapWindow.cs @@ -278,7 +278,7 @@ string selectedApiTokenValue // Make HTTP request HttpClient _httpClient = CreateHttpClient(); // MIRROR CHANGE: create HTTPClient in-place to avoid InvalidOperationExceptions when reusing - string path = $"/v1/app/{_appName}/version/{_appVersionName}"; + string path = $"/v1/app/{selectedAppName}/version/{selectedAppVersionName}"; // MIRROR CHANGE: use selectedAppName and selectedAppVersionName instead of _appName & _appVersionName HttpResponseMessage response = await _httpClient.GetAsync(path); if (response.IsSuccessStatusCode)