diff --git a/lib/Service/ExFilesActionsMenuService.php b/lib/Service/ExFilesActionsMenuService.php index 792c651c..b51e6d1f 100644 --- a/lib/Service/ExFilesActionsMenuService.php +++ b/lib/Service/ExFilesActionsMenuService.php @@ -155,7 +155,7 @@ public function handleFileAction(string $userId, string $appId, string $fileActi 'mime' => $actionFile['mime'], 'fileType' => $actionFile['fileType'], 'mtime' => $actionFile['mtime'], - 'contentLength' => $actionFile['contentLength'], + 'size' => $actionFile['size'], 'favorite' => $actionFile['favorite'] ?? "false", 'permissions' => $actionFile['permissions'], 'shareTypes' => $actionFile['shareTypes'] ?? null, diff --git a/src/filesplugin.js b/src/filesplugin.js index c4db129a..96084d68 100644 --- a/src/filesplugin.js +++ b/src/filesplugin.js @@ -34,7 +34,7 @@ state.fileActions.forEach(fileAction => { favorite: file.dataset?.favorite, permissions: file.dataset.permissions, fileType: file.dataset.type, - contentLength: file.dataset.size, + size: file.dataset.size, mtime: file.dataset.mtime, shareTypes: file.dataset?.shareTypes, shareAttributes: file.dataset.shareAttributes,