mirror of
https://github.com/open-webui/open-webui.git
synced 2026-08-22 16:44:06 -05:00
refac
This commit is contained in:
@@ -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;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user