Merge pull request #14694 from Bouby308/patch-1

fix: return json for successful userSignOut
This commit is contained in:
Tim Jaeryang Baek 2025-06-05 20:40:10 +04:00 committed by GitHub
commit 99fe23ef66
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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