Commit bdb62944 authored by Sven Franck's avatar Sven Franck

debug: JSON parse?

parent 08394984
......@@ -4369,13 +4369,12 @@
"_attachment": obj.attachment
})
.then(function (response) {
alert(response)
alert(response.data)
alert(jIO.util.readBlobAsText(response.data));
return jIO.util.readBlobAsText(response.data);
})
.then(function (answer) {
alert(answer)
reply = JSON.parse(answer.target.result);
alert(reply)
if (obj.pass) {
return {
"response": reply,
......
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