Skip to content
Prev Previous commit
Next Next commit
Call the correct functions to get BulkUpload metadata to return
Signed-off-by: Côme Chilliet <[email protected]>
  • Loading branch information
come-nc committed Aug 29, 2022
commit e34f2c4799b271ac1b1c412af4bf2fa1f6279359
4 changes: 2 additions & 2 deletions apps/dav/lib/BulkUpload/BulkUploadPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ public function httpPost(RequestInterface $request, ResponseInterface $response)
$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']]);
Expand Down