Skip to content

Commit 5043f52

Browse files
authored
Fix code-annotation-comment-spacing linter warnings (#58277)
1 parent f1de3ec commit 5043f52

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/apps/creating-github-apps/writing-code-for-a-github-app/building-a-github-app-that-responds-to-webhook-events.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,9 +221,9 @@ const localWebhookUrl = `http://${host}:${port}${path}`;
221221
//
222222
// Octokit's `createNodeMiddleware` function takes care of generating this middleware function for you. The resulting middleware function will:
223223
//
224-
// - Check the signature of the incoming webhook event to make sure that it matches your webhook secret. This verifies that the incoming webhook event is a valid {% data variables.product.company_short %} event.
225-
// - Parse the webhook event payload and identify the type of event.
226-
// - Trigger the corresponding webhook event handler.
224+
// - Check the signature of the incoming webhook event to make sure that it matches your webhook secret. This verifies that the incoming webhook event is a valid {% data variables.product.company_short %} event.
225+
// - Parse the webhook event payload and identify the type of event.
226+
// - Trigger the corresponding webhook event handler.
227227
const middleware = createNodeMiddleware(app.webhooks, {path});
228228

229229
// This creates a Node.js server that listens for incoming HTTP requests (including webhook payloads from {% data variables.product.company_short %}) on the specified port. When the server receives a request, it executes the `middleware` function that you defined earlier. Once the server is running, it logs messages to the console to indicate that it is listening.

0 commit comments

Comments
 (0)