undo overzealous find/replace

This commit is contained in:
nate smith 2022-01-14 15:27:05 -06:00
parent 56522f9f14
commit 0a619d422a
18 changed files with 39 additions and 32 deletions

View file

@ -24,7 +24,7 @@ func CheckAuth(cfg config.Config) bool {
}
for _, hostname := range hosts {
token, _ := cfg.GetOrDefault(hostname, "oauth_token")
token, _ := cfg.Get(hostname, "oauth_token")
if token != "" {
return true
}