Update Database.svelte

This commit is contained in:
Classic298 2025-08-22 16:33:04 +02:00 committed by GitHub
parent 2681fd268b
commit 13100ab9b3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,