Clone and edit this document
Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
octokit/rest.js#114
node v14.20.1
version:
1.0.0
endpoint
share
tweet
Test case for https://github.com/octokit/rest.js/issues/114
const { Octokit } = require('@octokit/rest') async function main () { const octokit = new Octokit({}) const q = 'properties+is:issue+repo:"octokit/rest.js"+label:bug' const issuesFound = await octokit.rest.search.issuesAndPullRequests({ q }) console.log(`${JSON.stringify(issuesFound)}`) } main().catch(e => { console.log(JSON.stringify(e, null, 2)) })
Loading…
no comments
sign in
to comment