diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/config/config.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config/config.go b/src/config/config.go index 3f3603a..2e597a1 100644 --- a/src/config/config.go +++ b/src/config/config.go @@ -43,7 +43,7 @@ func (auth *CardmarketApiAuth) String() string { } type Config struct { - CardmarketApiBaseURL []byte + CardmarketApiBaseURL string CardmarketApiAuth CardmarketApiAuth AppLogLevel slog.Level } @@ -81,7 +81,7 @@ func NewConfigFromEnv() (Config, error) { } return Config{ - CardmarketApiBaseURL: []byte(apiBaseURL), + CardmarketApiBaseURL: apiBaseURL, CardmarketApiAuth: CardmarketApiAuth{ AppToken: []byte(appToken), AppSecret: []byte(appSecret), |
