forked from open-webui/open-webui
fix: user chat delete loophole
This commit is contained in:
parent
a4c6a8d5a4
commit
74809e7330
3 changed files with 15 additions and 3 deletions
|
@ -439,7 +439,7 @@ export const deleteAllChats = async (token: string) => {
|
|||
return json;
|
||||
})
|
||||
.catch((err) => {
|
||||
error = err;
|
||||
error = err.detail;
|
||||
|
||||
console.log(err);
|
||||
return null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue