async
(params, auths) => {
}
//See the API docs: https://developer.xero.com/documentation/oauth2/auth-flow
//Step 5. Check the tenants you're authorized to access
return await require("@pipedreamhq/platform").axios(this, {
url: `https://api.xero.com/connections`,
headers: {
Authorization: `Bearer ${auths.xero_accounting_api.oauth_access_token}`,
},
})