mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
parent
f822c36b92
commit
7e51852c0b
@ -43,7 +43,7 @@ namespace Bloxstrap.Models.SettingTasks
|
|||||||
|
|
||||||
Directory.CreateDirectory(Path.GetDirectoryName(_filePath)!);
|
Directory.CreateDirectory(Path.GetDirectoryName(_filePath)!);
|
||||||
|
|
||||||
await using var fileStream = new FileStream(_filePath, FileMode.CreateNew);
|
await using var fileStream = new FileStream(_filePath, FileMode.Create);
|
||||||
await response.Content.CopyToAsync(fileStream);
|
await response.Content.CopyToAsync(fileStream);
|
||||||
|
|
||||||
OriginalState = NewState;
|
OriginalState = NewState;
|
||||||
|
Loading…
Reference in New Issue
Block a user