Would you like to clone this notebook?

When you clone a notebook you are able to make changes without affecting the original notebook.

Cancel

octokit/request.js#463

node v14.20.0
version: 1.0.0
endpointsharetweet
https://github.com/octokit/request.js/issues/463
const { Octokit } = require("@octokit/core") const octokit = new Octokit({ auth: process.env.GITHUB_TOKEN }) // https://github.com/octokit/request.js/pull/460.diff const result = await octokit.request("GET /repos/{owner}/{repo}/pulls/{pull_number}", { owner: "octokit", repo: "request.js", pull_number: 460, mediaType: { format: "diff", }, }); console.log(result.data)
Loading…

no comments

    sign in to comment