Skip to content

Commit

Permalink
address wierd situation when err doesn't have succ
Browse files Browse the repository at this point in the history
  • Loading branch information
pliablepixels committed Jul 31, 2018
1 parent be1c964 commit 2750b1d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion www/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -1114,7 +1114,8 @@ angular.module('zmApp', [
$ionicLoading.hide();


if ('success' in err.data) {
if (1) {
//if (err && err.data && 'success' in err.data) {
console.log("API based login not supported, need to use web scraping...");
// login using old web scraping
var ld = NVRDataModel.getLogin();
Expand Down

0 comments on commit 2750b1d

Please sign in to comment.