mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-13 13:44:16 +01:00
bugfix
This commit is contained in:
parent
3ed4ef454c
commit
91813bb67f
2 changed files with 12 additions and 7 deletions
|
|
@ -72,7 +72,6 @@ public class ServerFilesController : ControllerBase
|
|||
[HttpGet(MareFiles.ServerFiles_GetSizes)]
|
||||
public async Task<IActionResult> FilesGetSizes([FromBody] List<string> hashes)
|
||||
{
|
||||
var allFiles = await _mareDbContext.Files.Where(f => hashes.Contains(f.Hash)).ToListAsync().ConfigureAwait(false);
|
||||
var forbiddenFiles = await _mareDbContext.ForbiddenUploadEntries.
|
||||
Where(f => hashes.Contains(f.Hash)).ToListAsync().ConfigureAwait(false);
|
||||
List<DownloadFileDto> response = new();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue