Skip to content

Commit

Permalink
fix: compatible WECHATY_PUPPET_HOSTIE_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
dchaofei committed Oct 30, 2023
1 parent ba2bb47 commit 01b24f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wechaty-puppet-service/envvars.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func envServiceToken(token string) (string, error) {
return token, nil
}

token = os.Getenv("WECHATY_PUPPET_HOSTIE_ENDPOINT")
token = os.Getenv("WECHATY_PUPPET_HOSTIE_TOKEN")
if token != "" {
log.Trace("WECHATY_PUPPET_HOSTIE_TOKEN has been deprecated," +
"please use WECHATY_PUPPET_SERVICE_TOKEN instead.")
Expand Down

0 comments on commit 01b24f2

Please sign in to comment.