diff options
author | Vincent Petry <vincent@nextcloud.com> | 2022-08-25 14:14:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-25 14:14:08 +0200 |
commit | 5509063caac2964bea8e33d272238f266ca6749b (patch) | |
tree | da46ae384d1bba63903311d50330a3ff8f1d1c19 /apps | |
parent | 7379313b5d3e2a430907326670453acf91d7dd3c (diff) | |
parent | 7916fc91b528eb6a7c6949c7f0ea417825da6153 (diff) | |
download | nextcloud-server-5509063caac2964bea8e33d272238f266ca6749b.tar.gz nextcloud-server-5509063caac2964bea8e33d272238f266ca6749b.zip |
Merge pull request #33659 from nextcloud/fix/fix-bulk-upload-etag
Fix ETAG returned by bulk upload
Diffstat (limited to 'apps')
-rw-r--r-- | apps/dav/lib/BulkUpload/BulkUploadPlugin.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/dav/lib/BulkUpload/BulkUploadPlugin.php b/apps/dav/lib/BulkUpload/BulkUploadPlugin.php index bb6baf48b56..6ab4b21a74b 100644 --- a/apps/dav/lib/BulkUpload/BulkUploadPlugin.php +++ b/apps/dav/lib/BulkUpload/BulkUploadPlugin.php @@ -90,6 +90,7 @@ class BulkUploadPlugin extends ServerPlugin { $node = $this->userFolder->newFile($headers['x-file-path'], $content); $node->touch($mtime); + $node = $this->userFolder->getById($node->getId())[0]; $writtenFiles[$headers['x-file-path']] = [ "error" => false, |