diff options
Diffstat (limited to 'src/service/FileService.js')
-rw-r--r-- | src/service/FileService.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/service/FileService.js b/src/service/FileService.js index d646c9b7b..eb8415a0f 100644 --- a/src/service/FileService.js +++ b/src/service/FileService.js @@ -3,7 +3,7 @@ * * @author 2020 Christoph Wurst <christoph@winzerhof-wurst.at> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as @@ -39,9 +39,9 @@ export async function getFileSize(path) { export async function getFileData(path) { const response = await getClient('files').stat(path, { data: `<?xml version="1.0"?> - <d:propfind + <d:propfind xmlns:d="DAV:" - xmlns:oc="http://owncloud.org/ns" + xmlns:oc="http://owncloud.org/ns" xmlns:nc="http://nextcloud.org/ns"> <d:prop> <oc:size /> |