The (q)uery search term can also contain any combination of the supported issue search qualifiers:
async
(params, auths) => {
}
//See the API docs here: https://developer.github.com/v3/search/#search-issues-and-pull-requests
const config = {
url: `https://api.github.com/search/issues`,
params: {
order: params.order,
q: params.query,
sort: params.sort,
},
headers: {
Authorization: `Bearer ${auths.github.oauth_access_token}`,
},
}
return await require("@pipedreamhq/platform").axios(this, config)