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:
parent
759e700bba
commit
8f71679733
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user