From 378bd7999755a1bc2ed4fb0551cc49d7cb18e710 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Quiroz?= Date: Fri, 16 Dec 2022 17:36:35 -0300 Subject: [PATCH] Update src/utils/getLastModifiedDate.ts Co-authored-by: Paul Wackerow <54227730+wackerow@users.noreply.github.com> --- src/utils/getLastModifiedDate.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/utils/getLastModifiedDate.ts b/src/utils/getLastModifiedDate.ts index 773e962cea..af0598d37e 100644 --- a/src/utils/getLastModifiedDate.ts +++ b/src/utils/getLastModifiedDate.ts @@ -2,8 +2,7 @@ import { LAST_COMMIT_BASE_URL } from '../constants'; export const getLastModifiedDate = async (filePath: string) => { const headers = new Headers({ - // Note: this token expires on Dec 16, 2023 - // 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 + // 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 Authorization: 'Token ' + process.env.GITHUB_TOKEN_READ_ONLY });