mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
Merged master
This commit is contained in:
commit
6040ef2670
2
.github/workflows/CreateRelease.yml
vendored
2
.github/workflows/CreateRelease.yml
vendored
@ -21,8 +21,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Set up .NET Core
|
- name: Set up .NET Core
|
||||||
uses: actions/setup-dotnet@v1
|
uses: actions/setup-dotnet@v1
|
||||||
#with:
|
|
||||||
# dotnet-version: 3.1.301
|
|
||||||
|
|
||||||
- name: Install dotnet-script
|
- name: Install dotnet-script
|
||||||
run: |
|
run: |
|
||||||
|
@ -278,7 +278,7 @@ string selectedApiTokenValue
|
|||||||
|
|
||||||
// Make HTTP request
|
// Make HTTP request
|
||||||
HttpClient _httpClient = CreateHttpClient(); // MIRROR CHANGE: create HTTPClient in-place to avoid InvalidOperationExceptions when reusing
|
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);
|
HttpResponseMessage response = await _httpClient.GetAsync(path);
|
||||||
|
|
||||||
if (response.IsSuccessStatusCode)
|
if (response.IsSuccessStatusCode)
|
||||||
|
Loading…
Reference in New Issue
Block a user