logging
This commit is contained in:
1 parent
bebb5d6942
commit
5f17520ba0
7 files changed
+124
-42
No files matched your search
@@ -140,7 +140,6 @@ export class NotificationsService implements INotificationsService {
|
||||
const notifications = await this.notificationsRepository.findNotificationsByIds(notificationIds);
|
||||
const tasks = notifications.map((notification) => this.sendTestNotification(notification));
|
||||
const outcomes = await Promise.all(tasks);
|
||||
console.log(outcomes);
|
||||
const succeeded = outcomes.filter(Boolean).length;
|
||||
const failed = outcomes.length - succeeded;
|
||||
if (failed > 0) {
|
||||
|
||||
Reference in new issue
Block a user