From a0d9a4771ada19ea10b3e7363871e22682557f86 Mon Sep 17 00:00:00 2001 From: Kailash Nadh Date: Sun, 8 Mar 2020 15:01:42 +0530 Subject: [PATCH] Fix incorrect send_at time in installer's sample campaign --- install.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/install.go b/install.go index b451827..b5731e2 100644 --- a/install.go +++ b/install.go @@ -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",