add additional tests
This commit is contained in:
1 parent
ef4ca52285
commit
db64ad1de4
9 files changed
+572
-2
No files matched your search
@@ -184,7 +184,7 @@ class NotificationService implements INotificationService {
|
||||
const result: any[] = [];
|
||||
await this.testNotification(notificationChannel, result);
|
||||
if (result.length > 0) {
|
||||
return result.find((r) => r._id === notificationChannel._id)?.sent;
|
||||
return Boolean(result[0]?.sent);
|
||||
}
|
||||
return false;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user