Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(model_send_smtp_email): Make SendSmtpEmail field ScheduledAt nullable #23

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/model_send_smtp_email.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ type SendSmtpEmail struct {
// Tag your emails to find them more easily
Tags []string `json:"tags,omitempty"`
// UTC date-time on which the email has to schedule (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for scheduling. There can be an expected delay of +5 minutes in scheduled email delivery. **Please note this feature is currently a public beta**.
ScheduledAt time.Time `json:"scheduledAt,omitempty"`
ScheduledAt *time.Time `json:"scheduledAt,omitempty"`
// Valid UUIDv4 batch id to identify the scheduled batches transactional email. If not passed we will create a valid UUIDv4 batch id at our end.
BatchId string `json:"batchId,omitempty"`
}