Skip to content

Commit fce3852

Browse files
committed
deploy: 52057f9
1 parent 8e83963 commit fce3852

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

SUMMARY.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
- [getAvatarIcon](utils-reference/icons/getAvatarIcon.md)
9191
- [getFavicon](utils-reference/icons/getFavicon.md)
9292
- [getProgressIcon](utils-reference/icons/getProgressIcon.md)
93-
- [OAuth](utils-reference/oauth/README.md)
93+
- [OAuth Utils](utils-reference/oauth/README.md)
9494
- [OAuthService](utils-reference/oauth/OAuthService.md)
9595
- [withAccessToken](utils-reference/oauth/withAccessToken.md)
9696
- [getAccessToken](utils-reference/oauth/getAccessToken.md)

utils-reference/oauth/OAuthService.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const client = new OAuth.PKCEClient({
1818
const github = new OAuthService({
1919
client,
2020
clientId: "7235fe8d42157f1f38c0",
21-
scopes: "notifications repo read:org read:user read:project",
21+
scope: "notifications repo read:org read:user read:project",
2222
authorizeUrl: "https://github.oauth.raycast.com/authorize",
2323
tokenUrl: "https://github.oauth.raycast.com/token",
2424
});

utils-reference/oauth/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { Detail, LaunchProps } from "@raycast/api";
1616
import { withAccessToken, getAccessToken, OAuthService } from "@raycast/utils";
1717

1818
const github = OAuthService.github({
19-
scopes: "notifications repo read:org read:user read:project",
19+
scope: "notifications repo read:org read:user read:project",
2020
});
2121

2222
function AuthorizedComponent(props: LaunchProps) {
@@ -46,7 +46,7 @@ const client = new OAuth.PKCEClient({
4646
const provider = new OAuthService({
4747
client,
4848
clientId: "YOUR_CLIENT_ID",
49-
scopes: "YOUR_SCOPES",
49+
scope: "YOUR_SCOPES",
5050
authorizeUrl: "YOUR_AUTHORIZE_URL",
5151
tokenUrl: "YOUR_TOKEN_URL",
5252
});

0 commit comments

Comments
 (0)