Commit 75ad4abd authored by Vincent Bechu's avatar Vincent Bechu

[cloudooo] Use util.base64toBlob

parent f8d06159
......@@ -49,9 +49,9 @@
"application/xml"
), error;
if (data.getElementsByTagName('fault').length === 0) {
return jIO.util.dataURItoBlob(
"data:" + to + ';base64,' +
data.getElementsByTagName('string')[0].textContent
return jIO.util.base64toBlob(
data.getElementsByTagName('string')[0].textContent,
to
);
}
error = new jIO.util.jIOError('Conversion failed', 418);
......
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