module -> class
This commit is contained in:
1 parent
ae40cb8a54
commit
7bf96f6194
6 files changed
+110
-129
No files matched your search
@@ -81,7 +81,7 @@ class NotificationService {
|
||||
}
|
||||
|
||||
async notifyAll({ notificationIDs, subject, html, content }) {
|
||||
const notifications = await this.db.getNotificationsByIds(notificationIDs);
|
||||
const notifications = await this.db.notificationModule.getNotificationsByIds(notificationIDs);
|
||||
|
||||
// Map each notification to a test promise
|
||||
const promises = notifications.map(async (notification) => {
|
||||
|
||||
Reference in new issue
Block a user