diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2018-07-24 11:02:19 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2018-07-24 11:02:19 -0400 |
| commit | 3b829d0411ac491720ea563017875eaf6a8de327 (patch) | |
| tree | 658ed49313840c7e80039f576454aede0314fdfc /www/js/DataModel.js | |
| parent | 9c28b510df564f6e0e4787202d7efd31796682e6 (diff) | |
fix "no such state invalidapi" and other api auth border cases
Diffstat (limited to 'www/js/DataModel.js')
| -rwxr-xr-x | www/js/DataModel.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/www/js/DataModel.js b/www/js/DataModel.js index b86c6f08..2e7279ad 100755 --- a/www/js/DataModel.js +++ b/www/js/DataModel.js @@ -1594,6 +1594,7 @@ angular.module('zmApp.controllers') setCurrentServerVersion(success.data.version); d.resolve(success.data.version); } else { + debug ("Setting APIValid to false as API version was not retrieved"); $rootScope.apiValid = false; setCurrentServerVersion(""); d.reject("-1.-1.-1"); |
