Try new method to expose Token
This commit is contained in:
parent
5efc6d1aaa
commit
bbfa9d3084
2 changed files with 17 additions and 10 deletions
2
main.go
2
main.go
|
@ -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")
|
||||
}
|
||||
|
|
Reference in a new issue