Skip to content

Commit 61d61c2

Browse files
authored
fix(README): usage example (#579)
1 parent fb0624e commit 61d61c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ const appOctokit = new Octokit({
245245
});
246246

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

251251
// Send requests as OAuth App

0 commit comments

Comments
 (0)