chore: build

This commit is contained in:
2026-06-12 11:13:47 +02:00
parent cc278ecef5
commit 20da2a560f
8 changed files with 174 additions and 16 deletions
+1
View File
@@ -62,6 +62,7 @@ func main() {
if dbSettings, err := database.GetSettings(); err == nil {
telegramService.Reload(dbSettings.TelegramBotToken, dbSettings.TelegramBotUsername)
telegramService.SetNotificationsEnabled(dbSettings.TelegramNotificationsEnabled)
telegramService.ReloadNotifBots(dbSettings.TelegramNotifBots)
if dbSettings.TelegramBotToken != "" {
log.Printf("✅ [TELEGRAM] Config chargée depuis la DB (username: %s)", dbSettings.TelegramBotUsername)
if webhookURL := os.Getenv("TELEGRAM_WEBHOOK_URL"); webhookURL != "" {