mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 12:25:20 +00:00
Merge pull request #14694 from Bouby308/patch-1
fix: return json for successful userSignOut
This commit is contained in:
commit
99fe23ef66
1 changed files with 1 additions and 1 deletions
|
|
@ -336,7 +336,7 @@ export const userSignOut = async () => {
|
||||||
})
|
})
|
||||||
.then(async (res) => {
|
.then(async (res) => {
|
||||||
if (!res.ok) throw await res.json();
|
if (!res.ok) throw await res.json();
|
||||||
return res;
|
return res.json();
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
console.error(err);
|
console.error(err);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue