viezel / napp.alloy.adapter.restapi

RestAPI Sync Adapter for Titanium Alloy Framework
197 stars 102 forks source link

No responseText causes parse error #83

Closed jasonkneen closed 7 years ago

jasonkneen commented 7 years ago

If I get a response with no .responseText (using ArrowDB) but a status e.g. 201 then this fails so adding check for null.

viezel commented 7 years ago

good catch!