fix: EdgegapHosting connect uses passed-in name/version (#3646)

This commit is contained in:
Robin Rolf 2023-11-08 20:00:47 +01:00 committed by GitHub
parent 5e1be44ba1
commit d4734c0892
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)