fix: config parsing

This commit is contained in:
Noah 2025-10-13 14:51:36 +02:00
parent f445fef85a
commit 6e4575f298
No known key found for this signature in database
GPG key ID: D2A7E2C8F77E0430

View file

@ -12,8 +12,8 @@ type config struct {
SteamAPIKey string `env:"STEAMSALTY_STEAMAPIKEY" required:"true"`
DeepL struct {
APIKey string `env:"APIKEY"`
FreeTier bool `env:"FREETIER" default:"true"`
} `env:"STEAMSALTY_DEEPL_"`
APIKey string `env:"STEAMSALTY_DEEPL_APIKEY"`
FreeTier bool `env:"STEAMSALTY_DEEPL_FREETIER" default:"true"`
}
}