Now ignoring status on logout
This commit is contained in:
parent
b57aa535de
commit
8c1a2d319b
|
@ -63,7 +63,9 @@ export default class Apiclient {
|
||||||
static async logout() {
|
static async logout() {
|
||||||
return (
|
return (
|
||||||
await axios.post(`https://kauft.es/api/auth/logout`, {}, {
|
await axios.post(`https://kauft.es/api/auth/logout`, {}, {
|
||||||
headers: { Authorization: `Bearer ${UserStore.state.token}` }
|
headers: { Authorization: `Bearer ${UserStore.state.token}`,
|
||||||
|
validateStatus: null
|
||||||
|
}
|
||||||
})
|
})
|
||||||
).data;
|
).data;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue