diff options
| author | dev | 2026-06-24 01:46:12 +0200 |
|---|---|---|
| committer | dev | 2026-06-24 01:46:12 +0200 |
| commit | ae17ca2716cee24b9814a5e54c2349c115012d74 (patch) | |
| tree | 916ef3b96834a798b38bb864b4fbb63996226e44 /src/config.go | |
| parent | dcf1749e969358a611de988a5138028555bb0884 (diff) | |
| download | hnimdbbot-ae17ca2716cee24b9814a5e54c2349c115012d74.tar.gz | |
chore: commit existing config.go changes
Diffstat (limited to 'src/config.go')
| -rw-r--r-- | src/config.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/config.go b/src/config.go index 41ea55a..ff7722d 100644 --- a/src/config.go +++ b/src/config.go @@ -20,6 +20,7 @@ type Config struct { Delay int AccessToken string + RefreshToken string Debug bool // sets log level to debug } @@ -91,7 +92,7 @@ func (c *Config) setsConfig() { c.UserAgent = viper.GetString("UserAgent") c.Delay = viper.GetInt("Delay") - c.AccessToken= viper.GetString("AccessToken") + c.RefreshToken= viper.GetString("RefreshToken") c.Debug = viper.GetBool("Debug") } |
