Skip to content

Commit

Permalink
Fix return type of setup to a promise
Browse files Browse the repository at this point in the history
  • Loading branch information
Erikvl87 committed Sep 28, 2024
1 parent 041a460 commit cb01970
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ConditionCardZoneActiveForMinutes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default class ConditionCardZoneActiveForMinutes {
}
}

private setup(): void {
private async setup(): Promise<void> {
try {
this.conditionCard.registerRunListener(async (args, _state) => {
const zone = await this.zonesDb.getZone(args.zone.id);
Expand Down

0 comments on commit cb01970

Please sign in to comment.