Skip to content

Commit

Permalink
ASC.Files: FileDeleteOperation: empty header list when automatically …
Browse files Browse the repository at this point in the history
…deleting files from the trash
  • Loading branch information
andreysavihin committed Nov 12, 2024
1 parent 3f3c474 commit 705d19f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ private async Task DeleteFilesAsync(IEnumerable<T> fileIds, IServiceScope scope,
await folderDao.ChangeTreeFolderSizeAsync(_trashId, (-1) * file.ContentLength);
}

if (_headers != null)
if (_headers != null && _headers.Count > 0)
{
if (isNeedSendActions)
{
Expand Down

0 comments on commit 705d19f

Please sign in to comment.