From aa2f02d2757ebb94f1e00eb70f237afb0bbb2c3f Mon Sep 17 00:00:00 2001 From: Frederico Santos Date: Tue, 15 Oct 2024 22:44:02 +0100 Subject: [PATCH] feat: Implement S3 integration for system save data migration and retrieval --- api/daily/common.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/api/daily/common.go b/api/daily/common.go index 84b8167..056aeb3 100644 --- a/api/daily/common.go +++ b/api/daily/common.go @@ -40,8 +40,9 @@ import ( const secondsPerDay = 60 * 60 * 24 var ( - scheduler = cron.New(cron.WithLocation(time.UTC)) - secret []byte + scheduler = cron.New(cron.WithLocation(time.UTC)) + s3scheduler = cron.New(cron.WithLocation(time.UTC)) + secret []byte ) func Init() error {