From c7c3420db2cebac7ce8e2d02335b1108966460f2 Mon Sep 17 00:00:00 2001 From: Bojan Dimoski <dimoski.b98@gmail.com> Date: Thu, 15 Aug 2024 16:39:45 +0200 Subject: [PATCH] fix(model_send_smtp_email): Make SendSmtpEmail field ScheduledAt nullable --- lib/model_send_smtp_email.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/model_send_smtp_email.go b/lib/model_send_smtp_email.go index 3d7f5ba..2c75f4b 100644 --- a/lib/model_send_smtp_email.go +++ b/lib/model_send_smtp_email.go @@ -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"` }