diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2023-08-09 12:31:54 +0200 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2023-08-17 18:56:37 +0200 |
commit | 998b3a2581fb873b03bcf4dc02eafb19390b3cd6 (patch) | |
tree | 9c90078211fa2af1e3f570540d38bec47a634bae /apps/files_trashbin | |
parent | a820e3d036741ad1194361eca11bc1cbcdda0a47 (diff) | |
download | nextcloud-server-998b3a2581fb873b03bcf4dc02eafb19390b3cd6.tar.gz nextcloud-server-998b3a2581fb873b03bcf4dc02eafb19390b3cd6.zip |
feat(f2v): migrate Files
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files_trashbin')
-rw-r--r-- | apps/files_trashbin/src/services/trashbin.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_trashbin/src/services/trashbin.ts b/apps/files_trashbin/src/services/trashbin.ts index a1608f6e19f..bc52100a492 100644 --- a/apps/files_trashbin/src/services/trashbin.ts +++ b/apps/files_trashbin/src/services/trashbin.ts @@ -21,7 +21,7 @@ */ /* eslint-disable */ import { getCurrentUser } from '@nextcloud/auth' -import { File, Folder, parseWebdavPermissions } from '@nextcloud/files' +import { File, Folder, davParsePermissions } from '@nextcloud/files' import { generateRemoteUrl, generateUrl } from '@nextcloud/router' import type { FileStat, ResponseDataDetailed } from 'webdav' @@ -43,7 +43,7 @@ const data = `<?xml version="1.0"?> const resultToNode = function(node: FileStat): File | Folder { - const permissions = parseWebdavPermissions(node.props?.permissions) + const permissions = davParsePermissions(node.props?.permissions) const owner = getCurrentUser()?.uid as string const previewUrl = generateUrl('/apps/files_trashbin/preview?fileId={fileid}&x=32&y=32', node.props) |