diff options
| author | taehoon <th.dev91@gmail.com> | 2019-03-17 23:23:59 -0400 |
|---|---|---|
| committer | taehoon <th.dev91@gmail.com> | 2019-03-24 21:16:57 -0400 |
| commit | 909c315a44a5c6272f000325e5e9c8b33e75f873 (patch) | |
| tree | 0d5e95b4f38ed2f9ec4fc0a10cf8ede0179a0203 /src/components | |
| parent | 966add1b2996b87019051d8c924edb4af0bafb80 (diff) | |
Get correct mimetype through entity_normalizer
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/post_status_form/post_status_form.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/post_status_form/post_status_form.js b/src/components/post_status_form/post_status_form.js index 142d9d90..1f0df35a 100644 --- a/src/components/post_status_form/post_status_form.js +++ b/src/components/post_status_form/post_status_form.js @@ -292,7 +292,7 @@ const PostStatusForm = { this.submitDisabled = false }, type (fileInfo) { - return fileTypeService.fileType(fileInfo.pleroma.mime_type) + return fileTypeService.fileType(fileInfo.mimetype) }, paste (e) { if (e.clipboardData.files.length > 0) { |
