server: migrate feedService to TypeScript

This commit is contained in:
Jesse Chan
2020-10-21 19:50:47 +08:00
parent d173bf9322
commit b0ff983600
21 changed files with 929 additions and 685 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ class NotificationService extends BaseService<NotificationServiceEvents> {
data: notification.data,
id: notification.id,
read: false,
}));
})) as Notification[];
this.db.insert(notificationsToInsert, () => this.emitUpdate());
}