Skip to content

Commit

Permalink
fix(README): usage example (#579)
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed Feb 23, 2024
1 parent fb0624e commit 61d61c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ const appOctokit = new Octokit({
});

// Send requests as GitHub App
const { slug } = await appOctokit.request("GET /user");
const { slug } = await appOctokit.request("GET /app");
console.log("authenticated as %s", slug);

// Send requests as OAuth App
Expand Down

0 comments on commit 61d61c2

Please sign in to comment.