Commit 766ea029 authored by Tristan Cavelier's avatar Tristan Cavelier

default respond Blob type is "undefined" -> fixed to ""

parent 6c2fcc28
......@@ -58,7 +58,7 @@ IODeferred.prototype.resolve = function (a, b) {
if (this._method === 'getAttachment') {
if (typeof weak.data === 'string') {
weak.data = new Blob([weak.data], {
"type": weak.content_type || weak.mimetype
"type": weak.content_type || weak.mimetype || ""
});
delete weak.content_type;
delete weak.mimetype;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment