Fix leftover from the testing, use GITHUB_TOKEN.

This commit is contained in:
2021-05-12 12:11:57 +01:00
parent 2a869e95fa
commit 941784a3ae
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ import (
)
func checkLatestRelease() (string, bool) {
ghToken, ghTokenSet := os.LookupEnv("GHCR_TOKEN")
ghToken, ghTokenSet := os.LookupEnv("GITHUB_TOKEN")
if ghTokenSet {
gql.GraphQLUrl = "https://api.github.com/graphql"
headers := map[string]interface{}{