Merge pull request #49937 from nextcloud/backport/49936/stable28

[stable28] fix: Create empty file instead of file with a space
This commit is contained in:
Kate 2024-12-20 13:33:39 +01:00 committed by GitHub
commit 3594c830c3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3034,7 +3034,7 @@
self.filesClient.putFileContents(
targetPath,
' ', // dont create empty files which fails on some storage backends
'',
{
contentType: 'text/plain',
overwrite: true