Merge pull request #624 from ehuggett/nit

set a default MIME type in file metadata
This commit is contained in:
Danny Coates 2017-10-31 11:09:01 -07:00 committed by GitHub
commit 054a97371c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ export default class FileSender extends Nanobus {
JSON.stringify({
iv: arrayToB64(this.iv),
name: this.file.name,
type: this.file.type
type: this.file.type || 'application/octet-stream'
})
)
);