commit | c15359265239118c26f3a3e43737ae80c4499a1c | [log] [tgz] |
---|---|---|
author | Iftekharul Islam <iislam@us.ibm.com> | Mon Jun 19 12:49:04 2017 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Sep 20 13:14:23 2017 -0500 |
tree | e77aa8bafaadb6dd7579f700e4b26836009364ec | |
parent | c96980f8d2d794e00f394f8b8bcb5b46e4084163 [diff] [blame] |
fix problems reported by sonar scanner Change-Id: Ic351745aed9d670c51a33a21c5c0b5cde77a0e0e Signed-off-by: Iftekharul Islam <iislam@us.ibm.com>
diff --git a/app/common/services/apiInterceptor.js b/app/common/services/apiInterceptor.js index bd4743a..0b2f705 100644 --- a/app/common/services/apiInterceptor.js +++ b/app/common/services/apiInterceptor.js
@@ -29,7 +29,7 @@ } dataService.last_updated = new Date(); - if(response == null){ + if(!response){ dataService.server_unreachable = true; }else{ dataService.server_unreachable = false;