mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-12 22:17:22 +01:00
add hashes to filesizerequest
This commit is contained in:
parent
a63174009f
commit
dab12fbb30
1 changed files with 1 additions and 0 deletions
|
|
@ -51,6 +51,7 @@ namespace MareSynchronosServer.Hubs
|
|||
List<DownloadFileDto> response = new();
|
||||
|
||||
FileSizeRequest request = new FileSizeRequest();
|
||||
request.Hash.AddRange(hashes);
|
||||
var grpcResponse = await _fileServiceClient.GetFileSizesAsync(request).ConfigureAwait(false);
|
||||
|
||||
foreach (var hash in grpcResponse.HashToFileSize)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue