Skip to content

Commit

Permalink
Fix EagleEye email next date
Browse files Browse the repository at this point in the history
  • Loading branch information
loicsaintroch committed Nov 30, 2023
1 parent dd03162 commit c5cf62c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export async function eagleeyeSendEmailAndUpdateHistory(row: UserTenant): Promis
// still need to make sure the next EagleEeye email digest will be sent on daily
// or weekly basis so the email address is not retrieved on the next run.
if (content.length == 0) {
eagleeyeUpdateNextEmailAt({
await eagleeyeUpdateNextEmailAt({
...row,
type: 'eagle-eye-digest',
emails: [row.settings.eagleEye.emailDigest?.email || row.email],
Expand Down

0 comments on commit c5cf62c

Please sign in to comment.