scheduledAt date moved to future date rather than past

This commit is contained in:
Madison 2026-07-17 02:12:04 -05:00
parent 3914553a51
commit 6f1e796452
2 changed files with 3 additions and 3 deletions

View File

@ -75,7 +75,7 @@ await hexclaveServerApp.sendEmail({
// themeId: null, // use the default theme
// themeId: false, // send with no theme at all
notificationCategoryName: 'Marketing',
scheduledAt: new Date('2025-12-25T00:00:00Z'),
scheduledAt: new Date('2027-12-25T00:00:00Z'),
});
```
@ -139,7 +139,7 @@ await hexclaveServerApp.sendEmail({
userIds: ['user-id'],
html: '<p>Happy New Year!</p>',
subject: 'Happy New Year!',
scheduledAt: new Date('2026-01-01T00:00:00Z'),
scheduledAt: new Date('2027-01-01T00:00:00Z'),
});
```

View File

@ -96,7 +96,7 @@ await hexclaveServerApp.sendEmail({
allUsers: true,
templateId: "product-update",
subject: "We just shipped a big update",
scheduledAt: new Date("2026-01-01T00:00:00Z"),
scheduledAt: new Date("2027-01-01T00:00:00Z"),
});
```