Fixing check for relevant emails
This commit is contained in:
parent
3d13b84ef1
commit
fd5966bb8f
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ export class WaitingListService {
|
||||||
subject: email.subject,
|
subject: email.subject,
|
||||||
})
|
})
|
||||||
|
|
||||||
if (!this.isRelevantEmail) return
|
if (!this.isRelevantEmail(email)) return
|
||||||
|
|
||||||
await Promise.all([
|
await Promise.all([
|
||||||
this.ntfyProvider.sendWaitListEmailReceivedNotification(email.subject),
|
this.ntfyProvider.sendWaitListEmailReceivedNotification(email.subject),
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue