Skip to content

Commit

Permalink
update codeblocks
Browse files Browse the repository at this point in the history
  • Loading branch information
pilcrowonpaper committed Dec 13, 2023
1 parent dfd8c32 commit ca5689c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions docs/pages/guides/oauth2-pkce.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ try {
const tokens = await google.validateAuthorizationCode(code, codeVerifier);
} catch (e) {
if (e instanceof OAuth2RequestError) {
// see https://oslo.js.org/reference/oauth2/OAuth2RequestError/
const { request, message, description } = e;
}
// unknown error
Expand All @@ -85,7 +84,6 @@ try {
const tokens = await google.refreshAccessToken(refreshToken);
} catch (e) {
if (e instanceof OAuth2RequestError) {
// see https://oslo.js.org/reference/oauth2/OAuth2RequestError/
const { request, message, description } = e;
}
// unknown error
Expand Down
1 change: 0 additions & 1 deletion docs/pages/guides/oauth2.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ try {
const tokens = await google.refreshAccessToken(refreshToken);
} catch (e) {
if (e instanceof OAuth2RequestError) {
// see https://oslo.js.org/reference/oauth2/OAuth2RequestError/
const { request, message, description } = e;
}
// unknown error
Expand Down

0 comments on commit ca5689c

Please sign in to comment.