fix: Fix config parsing
Some checks are pending
Build and Push to Docker Hub on push to any branch / docker (push) Waiting to run

This commit is contained in:
Noah 2025-10-13 20:58:46 +02:00
parent 1b93bab69f
commit b55e60bcc7
No known key found for this signature in database
GPG key ID: D2A7E2C8F77E0430

View file

@ -3,8 +3,8 @@ package config
type config struct { type config struct {
LogLevel int `env:"STEAMSALTY_LOGLEVEL, default=1"` LogLevel int `env:"STEAMSALTY_LOGLEVEL, default=1"`
ChatID int64 `env:"STEAMSALTY_CHATID, required` ChatID int64 `env:"STEAMSALTY_CHATID, required"`
Watchers []uint64 `env:"STEAMSALTY_WATCHERS, required` Watchers []uint64 `env:"STEAMSALTY_WATCHERS, required"`
SleepInterval int `env:"STEAMSALTY_SLEEPINTERVAL, default=60"` SleepInterval int `env:"STEAMSALTY_SLEEPINTERVAL, default=60"`
Translate struct { Translate struct {
@ -17,7 +17,7 @@ type config struct {
} }
Steam struct { Steam struct {
APIKey string `env:"STEAMSALTY_STEAMAPIKEY, required` APIKey string `env:"STEAMSALTY_STEAMAPIKEY, required"`
} }
DeepL struct { DeepL struct {