diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2023-09-27 08:33:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-27 08:33:34 +0200 |
commit | 5dcefad91fc52cad3061c697a2f35bd7d116b9f7 (patch) | |
tree | 12639fd5616d6b579f89dcdb7af4743d9cf95cad /apps/files/src | |
parent | 0a20b5de7456b0b297868a79fe4cdd1bedeec072 (diff) | |
parent | 360ae111d835bbee431695324a148424faaa4e18 (diff) | |
download | nextcloud-server-5dcefad91fc52cad3061c697a2f35bd7d116b9f7.tar.gz nextcloud-server-5dcefad91fc52cad3061c697a2f35bd7d116b9f7.zip |
Merge pull request #40065 from nextcloud/bugfix/files/navigation-api
Diffstat (limited to 'apps/files/src')
-rw-r--r-- | apps/files/src/services/FileInfo.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/src/services/FileInfo.js b/apps/files/src/services/FileInfo.js index 0b3b0040c26..64b12d8594b 100644 --- a/apps/files/src/services/FileInfo.js +++ b/apps/files/src/services/FileInfo.js @@ -34,9 +34,9 @@ export default async function(url) { }) // TODO: create new parser or use cdav-lib when available - const file = OCA.Files.App.fileList.filesClient._client.parseMultiStatus(response.data) + const file = OC.Files.getClient()._client.parseMultiStatus(response.data) // TODO: create new parser or use cdav-lib when available - const fileInfo = OCA.Files.App.fileList.filesClient._parseFileInfo(file[0]) + const fileInfo = OC.Files.getClient()._parseFileInfo(file[0]) // TODO remove when no more legacy backbone is used fileInfo.get = (key) => fileInfo[key] |