Skip to content

Commit 0b57596

Browse files
committed
docs(README): use ESM
1 parent 46175ab commit 0b57596

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
@@ -539,7 +539,7 @@ createOAuthAppAuth({
539539
You can pass in your own <a href="https://github.com/octokit/request.js"><code>@octokit/request</code></a> instance. For usage with enterprise, set <code>baseUrl</code> to the API root endpoint. Example:
540540

541541
```js
542-
const { request } = require("@octokit/request");
542+
import { request } from "@octokit/request";
543543
createOAuthAppAuth({
544544
clientId: "1234567890abcdef1234",
545545
clientSecret: "1234567890abcdef1234567890abcdef12345678",

0 commit comments

Comments
 (0)