refactor: remove first param of all onTrigger calls

This commit is contained in:
Felix Roos 2025-06-30 10:18:54 +02:00
parent 46fe6d3c4d
commit e3680b96de
No known key found for this signature in database
13 changed files with 15 additions and 41 deletions

View file

@ -252,7 +252,7 @@ export const getTrigger =
}
if (hap.context.onTrigger) {
// call signature of output / onTrigger is different...
await hap.context.onTrigger(getTime() + deadline, hap, getTime(), cps, t);
await hap.context.onTrigger(hap, getTime(), cps, t);
}
} catch (err) {
logger(`[cyclist] error: ${err.message}`, 'error');