I'm making a request to the tapkey endpoint to get owners associated with a particular acccount, but on checking owners, it's an empty list:
const token = await this.getAuthorizationCodeToken()
try {
const {data: owners} = await axios.get(
`${this.baseUrl}/owners/`,
{
headers: {
'Authorization': `Bearer ${token}`
}
}
)
console.log('owners: ', owners)
return accountIds
} catch (error) {
// throw error ....
}