Skip to content

Commit 83ef956

Browse files
committed
Updated GitHub Scopes
Signed-off-by: NishkarshRaj <[email protected]>
1 parent 67258ce commit 83ef956

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@statusneo/backstage-plugin-github",
3-
"version": "0.2.5",
3+
"version": "0.2.6",
44
"main": "src/index.ts",
55
"types": "src/index.ts",
66
"license": "ISC",

src/hooks/useSignIn.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const useSignIn = () => {
2424

2525
const signIn = useCallback(
2626
async (optional = false) => {
27-
const token = await authApi.getAccessToken('read', {
27+
const token = await authApi.getAccessToken('repo', {
2828
optional,
2929
instantPopup: !optional,
3030
});

0 commit comments

Comments
 (0)