Made the url used to check the token a config option
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-11-22 03:33:00 +01:00
parent 501775654f
commit 6f5b3d13f7
5 changed files with 14 additions and 9 deletions

View File

@@ -43,6 +43,7 @@ type config struct {
Google struct {
Username string `yaml:"username" envconfig:"GOOGLE_USERNAME"`
OAuthUrl string `yaml:"oauth_url" envconfig:"GOOGLE_OAUTH_URL"`
Credentials Credentials `yaml:"credentials" envconfig:"GOOGLE_CREDENTIALS"`
} `yaml:"google"`
}