Try new method to expose Token

This commit is contained in:
nemunaire 2022-09-05 00:54:33 +02:00
parent 5efc6d1aaa
commit bbfa9d3084
2 changed files with 17 additions and 10 deletions

View file

@ -108,7 +108,7 @@ func main() {
log.Print("The service is shutting down...")
a.Stop()
if gitlabToken != nil {
saveOAuth2Token(OAUTH_GITLAB_FILE, gitlabToken)
saveOAuth2Token(OAUTH_GITLAB_FILE, gitlabToken())
}
log.Println("done")
}