fix logout method
This commit is contained in:
parent
6c71d8adf8
commit
e189ff8b09
1 changed files with 1 additions and 1 deletions
|
|
@ -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 || {});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue