Skip to content

Commit

Permalink
added missing info for actionFile (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey18106 authored Aug 16, 2023
1 parent 36be89c commit b08ad33
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Service/ExFilesActionsMenuService.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,8 @@ public function handleFileAction(string $userId, string $appId, string $fileActi
'directory' => $actionFile['directory'],
'etag' => $actionFile['etag'],
'mime' => $actionFile['mime'],
'fileType' => $actionFile['fileType'],
'contentLength' => $actionFile['contentLength'],
'favorite' => $actionFile['favorite'] ?? "false",
'permissions' => $actionFile['permissions']
],
Expand Down
2 changes: 2 additions & 0 deletions src/filesplugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ state.fileActions.forEach(fileAction => {
mime: file.dataset.mime,
favorite: file.dataset?.favorite,
permissions: file.dataset.permissions,
fileType: file.dataset.type,
contentLength: file.dataset.size,
},
}).then((response) => {
console.debug('response', response)
Expand Down

0 comments on commit b08ad33

Please sign in to comment.