unprovision: clear the default backup site

This commit is contained in:
Girish Ramakrishnan
2026-03-18 15:14:11 +05:30
parent ead58bd6f6
commit d7212e69b5
2 changed files with 7 additions and 1 deletions
+6 -1
View File
@@ -565,6 +565,10 @@ async function reinitAll() {
}
}
async function clear() {
await database.query('DELETE FROM backupSites');
}
export default {
get,
list,
@@ -601,5 +605,6 @@ export default {
createPseudo,
reinitAll
reinitAll,
clear
};