From 769e5ab189811c7886868c1f4ded37cb103f2c4a Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 15 Feb 2024 07:03:10 -0500 Subject: [PATCH] feat: add x-accepted-github-permissions https://docs.github.com/en/rest/using-the-rest-api/troubleshooting-the-rest-api?apiVersion=2022-11-28#resource-not-accessible --- src/ResponseHeaders.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ResponseHeaders.ts b/src/ResponseHeaders.ts index 17267b602..48603ecf3 100644 --- a/src/ResponseHeaders.ts +++ b/src/ResponseHeaders.ts @@ -10,6 +10,7 @@ export type ResponseHeaders = { server?: string; status?: string; vary?: string; + "x-accepted-github-permissions"?: string; "x-github-mediatype"?: string; "x-github-request-id"?: string; "x-oauth-scopes"?: string;