Skip to content

Commit

Permalink
Update OAuth.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Thebloxers998 authored Nov 16, 2024
1 parent 0e3ebe3 commit c4d0130
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extensions/OAuth.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
console.log(`Received authorization code: ${authorizationCode}`);

// Exchange the authorization code for an access token
fetch('https://example.com/oauth/token', {
Scratch.fetch('https://example.com/oauth/token', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
Expand Down Expand Up @@ -222,7 +222,7 @@
}

giveFeedback() {
window.open('https://scratch.mit.edu/users/Thebloxers998/');
Scratch.openWindow('https://scratch.mit.edu/users/Thebloxers998/');
}
}

Expand Down

0 comments on commit c4d0130

Please sign in to comment.