diff options
author | Stefan Schneider <stefan.schneider@squareweave.com.au> | 2017-03-10 16:45:02 +1100 |
---|---|---|
committer | Stefan Schneider <stefan.schneider@squareweave.com.au> | 2017-03-10 18:16:27 +1100 |
commit | f6ef024159b66a47109a83a4c98ba59c4bda9aaf (patch) | |
tree | 1b970d4e811f1f897f7fe8919a3b4b50b0608b93 /apps/files | |
parent | c38f87e799c93942c79dfe972b74fa3c2860793d (diff) | |
download | nextcloud-server-f6ef024159b66a47109a83a4c98ba59c4bda9aaf.tar.gz nextcloud-server-f6ef024159b66a47109a83a4c98ba59c4bda9aaf.zip |
Correct incorrectly typed X-OC-Mtime header
Signed-off-by: Stefan Schneider <stefan.schneider@squareweave.com.au>
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/js/file-upload.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/file-upload.js b/apps/files/js/file-upload.js index c93abd5244d..6f9fd9aafea 100644 --- a/apps/files/js/file-upload.js +++ b/apps/files/js/file-upload.js @@ -222,7 +222,7 @@ OC.FileUpload.prototype = { if (file.lastModified) { // preserve timestamp - this.data.headers['X-OC-Mtime'] = file.lastModified / 1000; + this.data.headers['X-OC-Mtime'] = (file.lastModified / 1000).toFixed(0); } var userName = this.uploader.filesClient.getUserName(); |