diff options
author | Vincent Petry <vincent@nextcloud.com> | 2021-04-29 10:04:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-29 10:04:30 +0200 |
commit | 09e31c6ba8fd60051f341fdbfb13df425da2a145 (patch) | |
tree | 9cafaa552ec8f1da0d6b54139eeb66c960c6f628 /src/store | |
parent | 2d31f14d68f97e86ed49399934de15456bc1f8a6 (diff) |
Simplify hash args
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Diffstat (limited to 'src/store')
-rw-r--r-- | src/store/messagesStore.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/store/messagesStore.js b/src/store/messagesStore.js index c7818d573..1cb586038 100644 --- a/src/store/messagesStore.js +++ b/src/store/messagesStore.js @@ -310,7 +310,7 @@ const actions = { tempId += '-' + uploadId + '-' + Math.random() messageParameters.file = { type: 'file', - file: file, + file, mimetype: file.type, id: tempId, name: file.newName || file.name, |