Healthcheck is now preflightCheck

This commit is contained in:
2018-06-07 15:50:45 +02:00
parent b62f389cab
commit bb6fdb6c39
+2 -2
View File
@@ -8,8 +8,8 @@ export default Route.extend({
const kredits = this.kredits; const kredits = this.kredits;
return kredits.setup().then(() => { return kredits.setup().then(() => {
kredits.get('kredits').healthcheck().catch((error) => { kredits.get('kredits').preflightChecks().catch((error) => {
console.error('Kredits healthcheck failed!'); console.error('Kredits preflight check failed!');
console.error(error); console.error(error);
}); });
if (kredits.get('accountNeedsUnlock')) { if (kredits.get('accountNeedsUnlock')) {