We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
OC.Files.getClient()
1 parent 6c7c26e commit c7c331bCopy full SHA for c7c331b
apps/files/src/services/FileInfo.js
@@ -34,9 +34,9 @@ export default async function(url) {
34
})
35
36
// TODO: create new parser or use cdav-lib when available
37
- const file = OCA.Files.App.fileList.filesClient._client.parseMultiStatus(response.data)
+ const file = OC.Files.getClient()._client.parseMultiStatus(response.data)
38
39
- const fileInfo = OCA.Files.App.fileList.filesClient._parseFileInfo(file[0])
+ const fileInfo = OC.Files.getClient()._parseFileInfo(file[0])
40
41
// TODO remove when no more legacy backbone is used
42
fileInfo.get = (key) => fileInfo[key]
0 commit comments