Skip to content

Commit

Permalink
Merge branch 'hotfix/fixReloginBug'
Browse files Browse the repository at this point in the history
  • Loading branch information
canyara committed May 28, 2018
2 parents 9abbb3f + dfd5054 commit 4ffc980
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions js/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,6 @@ export function APIRequest(path, json, bToken = false, bPayReq = false, bRelogin
return resolve(response.json);
}
}

console.warn("API Request HTTP failed, response=" + response.ok);
return reject(Error("API:" + path + ", status code=" + response.status));
}, (e) => {
console.warn("API Request Json failed, response=" + e.message);
return reject(Error(e.message));
Expand Down

0 comments on commit 4ffc980

Please sign in to comment.