chore: build

This commit is contained in:
2026-05-09 15:34:15 +02:00
parent 97712f240e
commit 63c6086625
+1 -2
View File
@@ -10,7 +10,6 @@ import (
"time" "time"
) )
// TelegramBot est l'instance globale accessible depuis le package db
var TelegramBot *TelegramService var TelegramBot *TelegramService
type TelegramService struct { type TelegramService struct {
@@ -103,7 +102,7 @@ func (t *TelegramService) SetWebhook(webhookURL string) error {
} }
payload := map[string]interface{}{ payload := map[string]interface{}{
"url": webhookURL, "url": webhookURL,
"allowed_updates": []string{"message"}, "allowed_updates": []string{"message"},
} }
if t.webhookSecret != "" { if t.webhookSecret != "" {