async
(params, auths) => {
}
//See the API docs: https://developer.github.com/v3/issues/#list-issues
const config = {
url: `https://api.github.com/issues`,
params: {
filter: params.filter,
state: params.state,
labels: params.labels,
sort: params.sort,
direction: params.direction,
since: params.since,
},
headers: {
Authorization: `Bearer ${auths.github.oauth_access_token}`,
},
}
return await require("@pipedreamhq/platform").axios(this, config)