Update dependencies

This commit is contained in:
Samuel Elliott
2022-11-27 15:15:57 +00:00
parent 890c02e3ef
commit 6d1391929f
8 changed files with 183 additions and 380 deletions

View File

@@ -93,7 +93,7 @@ export class ZncNotifications extends Loop {
const activeevent: GetActiveEventResult = this.user ?
await this.user.getActiveEvent() :
await this.nso.getActiveEvent();
result.activeevent = 'id' in activeevent ? activeevent : undefined;
result.activeevent = 'id' in activeevent ? activeevent as ActiveEvent : undefined;
}
if (req.includes('user')) {
result.user = await this.nso.getCurrentUser();