summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordev2026-06-24 01:56:35 +0200
committerdev2026-06-24 01:56:35 +0200
commit16a92e119b8123902b0773ba2878fb3926d9ee09 (patch)
tree8e8f35806f14b924fe641a3826f0834dbd971d5d
parentd4653693986786f23d7fd7e71b7a380e56bc6971 (diff)
downloadhnimdbbot-16a92e119b8123902b0773ba2878fb3926d9ee09.tar.gz
feat: add AccessToken back to Config struct (json:"-" to exclude from serialization)
-rw-r--r--src/config.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config.go b/src/config.go
index 3f1116c..a798f97 100644
--- a/src/config.go
+++ b/src/config.go
@@ -21,6 +21,7 @@ type Config struct {
Delay int `json:"delay"`
// auth
+ AccessToken string `json:"-"`
RefreshToken string `json:"refresh_token"`
// misc
Debug bool `json:"debug"`