diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-08-29 09:14:52 +0200 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-08-29 09:14:52 +0200 |
commit | e34f2c4799b271ac1b1c412af4bf2fa1f6279359 (patch) | |
tree | 448ce560883cd7338a5b7a0bd142c2196f192de1 /apps/dav/lib | |
parent | 5ae185a8b1427a5daa7bb98499482d4c33f6be29 (diff) | |
download | nextcloud-server-e34f2c4799b271ac1b1c412af4bf2fa1f6279359.tar.gz nextcloud-server-e34f2c4799b271ac1b1c412af4bf2fa1f6279359.zip |
Call the correct functions to get BulkUpload metadata to return
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/dav/lib')
-rw-r--r-- | apps/dav/lib/BulkUpload/BulkUploadPlugin.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/lib/BulkUpload/BulkUploadPlugin.php b/apps/dav/lib/BulkUpload/BulkUploadPlugin.php index d3c0d060b9d..79a1561ef5b 100644 --- a/apps/dav/lib/BulkUpload/BulkUploadPlugin.php +++ b/apps/dav/lib/BulkUpload/BulkUploadPlugin.php @@ -96,8 +96,8 @@ class BulkUploadPlugin extends ServerPlugin { $writtenFiles[$headers['x-file-path']] = [ "error" => false, "etag" => $node->getETag(), - "fileid" => $node->getId(), - "permissions" => $node->getPermissions(), + "fileid" => $node->getFileId(), + "permissions" => $node->getDavPermissions(), ]; } catch (\Exception $e) { $this->logger->error($e->getMessage(), ['path' => $headers['x-file-path']]); |