Skip to content

Commit

Permalink
fix: Create empty file instead of file with a space
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Knorr <[email protected]>
  • Loading branch information
juliusknorr authored and backportbot[bot] committed Dec 20, 2024
1 parent 08713db commit afb4224
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/files/js/filelist.js
Original file line number Diff line number Diff line change
Expand Up @@ -3034,7 +3034,7 @@

self.filesClient.putFileContents(
targetPath,
' ', // dont create empty files which fails on some storage backends
'',
{
contentType: 'text/plain',
overwrite: true
Expand Down

0 comments on commit afb4224

Please sign in to comment.