From bc28bdc744c65487061eae4227a8da33c15a2468 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 15 Feb 2024 12:42:16 -0500 Subject: [PATCH] feat: add x-accepted-github-permissions (#609) 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;