mirror of
https://github.com/zoriya/flood.git
synced 2026-06-01 02:29:01 +00:00
server: migrate feedService to TypeScript
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user