Skip to content

Commit

Permalink
Run bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus Kling committed Apr 23, 2023
1 parent 810edf9 commit 8202c00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,13 @@ export class HeatingSchedulerApp {
export default class App extends HomeyApp {
public async onInit() {
// we don't let homey wait for the init cycle to finish
async () => {
(async () => {
await BootStrapper(this);

// we let the container do our stuff
const app = container.resolve(HeatingSchedulerApp);
await app.run(this);
}
})();
}
}

Expand Down

0 comments on commit 8202c00

Please sign in to comment.