1
0
mirror of https://github.com/beestat/app.git synced 2025-07-09 03:04:07 -04:00

Fixes #151 - undefined is not an object

Was executing the success callback even on failure.
This commit is contained in:
Jon Ziebell 2019-08-19 21:32:04 -04:00
parent 759e700bba
commit 8f71679733

View File

@ -183,6 +183,7 @@ beestat.api.prototype.load_ = function(response_text) {
'API call failed: ' + response.data.error_message,
JSON.stringify(response, null, 2)
);
return;
}
// Cach responses