Merge branch 'master' of github.com:mozilla/send into frontend_tests

This commit is contained in:
Abhinav Adduri 2017-07-17 10:52:27 -07:00
commit ba348b6839
1 changed files with 1 additions and 3 deletions

View File

@ -74,9 +74,7 @@ class FileReceiver extends EventEmitter {
fdata.data
).then(decrypted => {
this.emit('decrypting', false);
return new Promise((resolve, reject) => {
resolve(decrypted);
})
return Promise.resolve(decrypted)
}),
fdata.filename,
hexToArray(fdata.aad)