Skip to content

Commit

Permalink
minor code fix in "Calling the backend server" code block
Browse files Browse the repository at this point in the history
- add missing const
  • Loading branch information
charleschen authored Jan 23, 2025
1 parent 6978149 commit 72abfb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/activities/Building_An_Activity.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ async function setupDiscordSdk() {
const { access_token } = await response.json();
// Authenticate with Discord client (using the access_token)
auth = await discordSdk.commands.authenticate({
const auth = await discordSdk.commands.authenticate({
access_token,
});
Expand Down

0 comments on commit 72abfb5

Please sign in to comment.