From f368ce6fe842f831661af7f978e1a75ca343aa09 Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Thu, 7 Sep 2023 03:22:37 +0200 Subject: [PATCH] chore:fixed the StorageDir being intermingled with the cron job names --- server/backend/cron/cronjobs.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/backend/cron/cronjobs.go b/server/backend/cron/cronjobs.go index 8bf15fad..fce0a34f 100644 --- a/server/backend/cron/cronjobs.go +++ b/server/backend/cron/cronjobs.go @@ -18,6 +18,8 @@ type CronService struct { APNs *ios_apns.Service } +const StorageDir = "/Storage/" // target location of files + // names for cron jobs as specified in database const ( NewsType = "news" @@ -25,7 +27,6 @@ const ( DishNameDownload = "dishNameDownload" AverageRatingComputation = "averageRatingComputation" CanteenHeadcount = "canteenHeadCount" - StorageDir = "/Storage/" // target location of files IOSNotifications = "iosNotifications" IOSActivityReset = "iosActivityReset"