return json when signout request is successful so that frontend can get redirect url with res?.redirect_url on signout
@@ -336,7 +336,7 @@ export const userSignOut = async () => {
})
.then(async (res) => {
if (!res.ok) throw await res.json();
- return res;
+ return res.json();
.catch((err) => {
console.error(err);