fix logout method

This commit is contained in:
nick-delirium 2024-10-07 15:31:19 +02:00
parent 6c71d8adf8
commit e189ff8b09
No known key found for this signature in database
GPG key ID: 93ABD695DF5FDBA0

View file

@ -173,7 +173,7 @@ export default class UserService {
logout() {
return this.client
.post('/logout')
.get('/logout')
.then((response: { json: () => any }) => response.json())
.then((response: { data: any }) => response.data || {});
}