Skip to content

Commit 472e93a

Browse files
authored
Update api-config.ts
Use less gh app scopes
1 parent ff0c327 commit 472e93a

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

src/lib/api-config.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,5 @@ export const githubHeaders = (state: State) => ({
3131
})
3232

3333
export const GITHUB_BASE_URL = "https://github.com"
34-
export const GITHUB_CLIENT_ID = "01ab8ac9400c4e429b23"
35-
export const GITHUB_APP_SCOPES = [
36-
"read:org",
37-
"read:user",
38-
"repo",
39-
"user:email",
40-
"workflow",
41-
].join(" ")
34+
export const GITHUB_CLIENT_ID = "Iv1.b507a08c87ecfe98"
35+
export const GITHUB_APP_SCOPES = ["read:user"].join(" ")

0 commit comments

Comments
 (0)