Fix incorrect send_at time in installer's sample campaign
This commit is contained in:
parent
442dec9341
commit
a0d9a4771a
|
@ -113,8 +113,7 @@ func install(db *sqlx.DB, fs stuffbin.FileSystem, prompt bool) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Sample campaign.
|
// Sample campaign.
|
||||||
sendAt := time.Now()
|
sendAt := time.Now().Add(time.Hour * 24)
|
||||||
sendAt.Add(time.Minute * 43200)
|
|
||||||
if _, err := q.CreateCampaign.Exec(uuid.Must(uuid.NewV4()),
|
if _, err := q.CreateCampaign.Exec(uuid.Must(uuid.NewV4()),
|
||||||
models.CampaignTypeRegular,
|
models.CampaignTypeRegular,
|
||||||
"Test campaign",
|
"Test campaign",
|
||||||
|
|
Loading…
Reference in New Issue