mirror of
https://github.com/open-webui/open-webui.git
synced 2026-08-28 05:27:35 +00:00
refac
This commit is contained in:
parent
3d630491c6
commit
d2af19ae3c
1 changed files with 1 additions and 1 deletions
|
|
@ -286,7 +286,7 @@ export const getUserSettings = async (token: string, raw = false) => {
|
|||
})
|
||||
.catch((err) => {
|
||||
console.error(err);
|
||||
error = err.detail;
|
||||
error = err?.detail ?? err;
|
||||
return null;
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue