mirror of
https://github.com/danbulant/Portfolio
synced 2026-05-24 12:35:31 +00:00
fix(apiLogout): res.json()
This commit is contained in:
parent
c5c34c9e30
commit
b141c6690c
1 changed files with 0 additions and 1 deletions
|
|
@ -12,7 +12,6 @@ export const apiLogout = async (fetchSsr?: Fetch) => {
|
|||
method: 'POST',
|
||||
credentials: 'include'
|
||||
});
|
||||
return await res.json();
|
||||
} catch (e) {
|
||||
throw errorHandler(e, 'Logout failed');
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue