Now ignoring status on logout

This commit is contained in:
Nicolai Ort 2021-08-21 08:36:38 +02:00
parent b57aa535de
commit 8c1a2d319b
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F
1 changed files with 3 additions and 1 deletions

View File

@ -63,7 +63,9 @@ export default class Apiclient {
static async logout() {
return (
await axios.post(`https://kauft.es/api/auth/logout`, {}, {
headers: { Authorization: `Bearer ${UserStore.state.token}` }
headers: { Authorization: `Bearer ${UserStore.state.token}`,
validateStatus: null
}
})
).data;
}