Hi there!
I get Must have push access to view repository collaborators.
despite being the owner with following request:
async function getCollaborators(accessToken) {
const r = await fetch([collaboratorURL](https://api.github.com/repos/mattiasinokuchi/veggies/collaborators), {
headers: {
Accept: 'application/json',
Authorization: `Token ${accessToken}`
}
})
return r.json()
}
What am I doing wrong?
/Mattias