Skip to content

Commit

Permalink
docs: fixed colon issue on example code statements (#2516)
Browse files Browse the repository at this point in the history
fixed colon issue on example imports

Signed-off-by: Satish Kumar Kadarkarai Main <[email protected]>
  • Loading branch information
michaelsatish authored Aug 10, 2023
1 parent 0be4af0 commit 2e2c4ae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,7 @@ The `app.webhooks.*` APIs provide methods to receiving, verifying, and handling
Example: create a comment on new issues

```js
import { createServer } from "node:http":
import { createServer } from "node:http";
import { App, createNodeMiddleware } from "octokit";

const app = new App({
Expand Down Expand Up @@ -813,7 +813,7 @@ There are some differences:
Example: Watch a repository when a user logs in using the OAuth web flow

```js
import { createServer } from "node:http":
import { createServer } from "node:http";
import { App, createNodeMiddleware } from "octokit";

const app = new App({
Expand Down Expand Up @@ -858,7 +858,7 @@ const { token } = await app.oauth.createToken({
Example: Create an OAuth App Server with default scopes

```js
import { createServer } from "node:http":
import { createServer } from "node:http";
import { OAuthApp, createNodeMiddleware } from "octokit";

const app = new OAuthApp({
Expand Down

0 comments on commit 2e2c4ae

Please sign in to comment.