mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-11 20:05:19 +00:00
Update Database.svelte
This commit is contained in:
parent
2681fd268b
commit
13100ab9b3
1 changed files with 2 additions and 0 deletions
|
|
@ -32,6 +32,7 @@
|
|||
const settings = event.detail;
|
||||
lastPruneSettings = settings;
|
||||
|
||||
console.log('Preview call - dry_run should be TRUE');
|
||||
const res = await pruneData(
|
||||
localStorage.token,
|
||||
settings.days,
|
||||
|
|
@ -64,6 +65,7 @@
|
|||
const handleConfirmPrune = async () => {
|
||||
if (!lastPruneSettings) return;
|
||||
|
||||
console.log('Confirm call - dry_run should be FALSE');
|
||||
const res = await pruneData(
|
||||
localStorage.token,
|
||||
lastPruneSettings.days,
|
||||
|
|
|
|||
Loading…
Reference in a new issue