Healthcheck is now preflightCheck
This commit is contained in:
@@ -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')) {
|
||||||
|
|||||||
Reference in New Issue
Block a user