From 4a048096c268fcd5be9fbf59645c33c207be7914 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Sat, 30 Sep 2023 12:53:47 +0200 Subject: [PATCH] Fix constant type. --- misc/infrastructure/powerbot/bot.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/infrastructure/powerbot/bot.go b/misc/infrastructure/powerbot/bot.go index f303b0be..6ea17bc1 100644 --- a/misc/infrastructure/powerbot/bot.go +++ b/misc/infrastructure/powerbot/bot.go @@ -15,7 +15,7 @@ import ( const ( syncInterval = time.Minute - syncForceFrequency = 7 * 24 * time.Hour / syncInterval + syncForceFrequency = int(7 * 24 * time.Hour / syncInterval) ) type Config struct { -- 2.39.2