Update src/utils/fetchLatestReleaseVersionAndName.ts

Co-authored-by: Paul Wackerow <54227730+wackerow@users.noreply.github.com>
pull/26460/head^2
Nicolás Quiroz 2 years ago committed by GitHub
parent 55ef81be8d
commit ae00338328
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      src/utils/fetchLatestReleaseVersionAndName.ts

@ -2,8 +2,7 @@ import { LATEST_GETH_RELEASE_URL } from '../constants';
export const fetchLatestReleaseVersionAndName = () => { export const fetchLatestReleaseVersionAndName = () => {
const headers = new Headers({ const headers = new Headers({
// Note: this token expires on Dec 16, 2023 // About personal access tokens https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token#about-personal-access-tokens
// check fine-grained tokens https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token#about-personal-access-tokens
Authorization: 'Token ' + process.env.GITHUB_TOKEN_READ_ONLY Authorization: 'Token ' + process.env.GITHUB_TOKEN_READ_ONLY
}); });

Loading…
Cancel
Save