Skip to content

Commit 1486750

Browse files
committed
feat: update to newer github api version to check tokens
1 parent b5a40e4 commit 1486750

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

scripts/github.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,8 @@ export default class GitHub {
155155
}),
156156
headers: {
157157
Authorization: `Basic ${globalThis.btoa(`${this.clientID}:${this.clientSecret}`)}`,
158-
Accept: 'application/vnd.github.doctor-strange-preview+json',
158+
Accept: 'application/vnd.github+json',
159+
'X-GitHub-Api-Version': '2022-11-28',
159160
},
160161
});
161162
if(method == "POST") {

0 commit comments

Comments
 (0)