Skip to content

Commit 5509063

Browse files
authored
Merge pull request #33659 from nextcloud/fix/fix-bulk-upload-etag
Fix ETAG returned by bulk upload
2 parents 7379313 + 7916fc9 commit 5509063

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

apps/dav/lib/BulkUpload/BulkUploadPlugin.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ public function httpPost(RequestInterface $request, ResponseInterface $response)
9090

9191
$node = $this->userFolder->newFile($headers['x-file-path'], $content);
9292
$node->touch($mtime);
93+
$node = $this->userFolder->getById($node->getId())[0];
9394

9495
$writtenFiles[$headers['x-file-path']] = [
9596
"error" => false,

0 commit comments

Comments
 (0)