mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 15:17:23 +01:00
fix not being able to pause players, some other bullshit, update to api4
This commit is contained in:
parent
1577ec93fd
commit
1eccd791d1
6 changed files with 7 additions and 7 deletions
|
|
@ -32,7 +32,7 @@ namespace MareSynchronos.WebAPI
|
|||
await _fileHub!.SendAsync(FilesHubAPI.SendDeleteAllFiles);
|
||||
}
|
||||
|
||||
public async Task<string> DownloadFile(string hash, CancellationToken ct)
|
||||
private async Task<string> DownloadFile(string hash, CancellationToken ct)
|
||||
{
|
||||
var reader = _fileHub!.StreamAsync<byte[]>(FilesHubAPI.StreamDownloadFileAsync, hash, ct);
|
||||
string fileName = Path.GetTempFileName();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue