Fix incorrect send_at time in installer's sample campaign

This commit is contained in:
Kailash Nadh 2020-03-08 15:01:42 +05:30
parent 442dec9341
commit a0d9a4771a
1 changed files with 1 additions and 2 deletions

View File

@ -113,8 +113,7 @@ func install(db *sqlx.DB, fs stuffbin.FileSystem, prompt bool) {
}
// Sample campaign.
sendAt := time.Now()
sendAt.Add(time.Minute * 43200)
sendAt := time.Now().Add(time.Hour * 24)
if _, err := q.CreateCampaign.Exec(uuid.Must(uuid.NewV4()),
models.CampaignTypeRegular,
"Test campaign",