Issue with fetching payments states
duckheada opened this issue · comments
Can you help?
I just get "{"detail":"Not found."}".
my api call:
async function getStatuses() {
await axios
.get(
"http://127.0.0.1:8000/api/oscarapicheckout/checkout/payment-states/",
{
headers: {
Authorization: Bearer ${access_token}
,
},
}
)
.then((response) => {
console.log(JSON.stringify(response.data.results));
})
.catch((error) => {
console.log();
});
}