Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Gml.Client/Helpers/ApiProcedures.cs
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ private async Task DownloadFile(string installationDirectory, ProfileFileReadDto

var url = $"{_httpClient.BaseAddress.AbsoluteUri}api/v1/file/{file.Hash}";

await using (var fs = new FileStream(localPath, FileMode.OpenOrCreate))
await using (var fs = new FileStream(localPath, FileMode.Create))
{
using (var response = await _httpClient.GetAsync(url, HttpCompletionOption.ResponseHeadersRead, cancellationToken))
{
Expand Down