🔀 Merge branch 'main' into release/v1.0.5

This commit is contained in:
Eric Doughty-Papassideris
2024-11-20 15:36:38 +01:00
@@ -478,7 +478,7 @@ export class DocumentsService {
await updateItemSize(driveItem.parent_id, this.repository, context);
// If AV feature is enabled, scan the file
if (globalResolver.services.av?.avEnabled && version) {
if (!driveItem.is_directory && globalResolver.services.av?.avEnabled && version) {
try {
driveItem.av_status = await globalResolver.services.av.scanDocument(
driveItem,