summaryrefslogtreecommitdiff
path: root/src/config.go
diff options
context:
space:
mode:
authordev2026-06-24 01:46:12 +0200
committerdev2026-06-24 01:46:12 +0200
commitae17ca2716cee24b9814a5e54c2349c115012d74 (patch)
tree916ef3b96834a798b38bb864b4fbb63996226e44 /src/config.go
parentdcf1749e969358a611de988a5138028555bb0884 (diff)
downloadhnimdbbot-ae17ca2716cee24b9814a5e54c2349c115012d74.tar.gz
chore: commit existing config.go changes
Diffstat (limited to 'src/config.go')
-rw-r--r--src/config.go3
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")
}