Change the way token is retrieve

Signed-off-by: Hadi <[email protected]>
This commit is contained in:
Hadi
2025-09-15 14:54:51 +02:00
parent 3064cdbf7a
commit 26a1cfdd37
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -163,7 +163,7 @@ func GetSettings() (settings Settings) {
// If token is not set via flag, get it from env
if settings.Token == "null" || settings.Token == "" {
settings.Token = getToken()
settings.Token = GetToken()
}
if settings.Token == "null" || settings.Token == "" {