From 61d61c24fba6fdd9b22f5ef8b0363f1b2755c449 Mon Sep 17 00:00:00 2001 From: Gregor Martynus <39992+gr2m@users.noreply.github.com> Date: Fri, 23 Feb 2024 12:09:08 -0800 Subject: [PATCH] fix(README): usage example (#579) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ef58a6079..4d005dc01 100644 --- a/README.md +++ b/README.md @@ -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