From 972ca3132d34c22a649d91fb7992a8bc22cc9fa4 Mon Sep 17 00:00:00 2001 From: Michael Pfister Date: Fri, 14 Jul 2023 22:58:31 +0200 Subject: [PATCH] =?UTF-8?q?Added=20a=20missing=20dependency=20to=20buildin?= =?UTF-8?q?g-a-github-app-that-responds-to-=E2=80=A6=20(#26667)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Sarah Edwards --- .../building-a-github-app-that-responds-to-webhook-events.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/apps/creating-github-apps/writing-code-for-a-github-app/building-a-github-app-that-responds-to-webhook-events.md b/content/apps/creating-github-apps/writing-code-for-a-github-app/building-a-github-app-that-responds-to-webhook-events.md index 8220b613d1..cd9bd6bc3c 100644 --- a/content/apps/creating-github-apps/writing-code-for-a-github-app/building-a-github-app-that-responds-to-webhook-events.md +++ b/content/apps/creating-github-apps/writing-code-for-a-github-app/building-a-github-app-that-responds-to-webhook-events.md @@ -144,7 +144,7 @@ Add the following code to `app.js`. The code includes annotations that explain e // // You installed the `dotenv` and `octokit` modules earlier. The `@octokit/webhooks` is a dependency of the `octokit` module, so you don't need to install it separately. The `fs` and `http` dependencies are built-in Node.js modules. import dotenv from "dotenv"; -import {App} from "octokit"; +import {App{% ifversion ghes or ghae %}, Octokit{% endif %}} from "octokit"; import {createNodeMiddleware} from "@octokit/webhooks"; import fs from "fs"; import http from "http";