fix(apiLogout): res.json()

This commit is contained in:
Sebastian Pravda 2023-01-02 16:54:44 +01:00
parent c5c34c9e30
commit b141c6690c
No known key found for this signature in database
GPG key ID: F3BC84F08EFA3F57

View file

@ -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');
}