Merge pull request #33659 from nextcloud/fix/fix-bulk-upload-etag

Fix ETAG returned by bulk upload
This commit is contained in:
Vincent Petry 2022-08-25 14:14:08 +02:00 committed by GitHub
commit 5509063caa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,