Fix
This commit is contained in:
@@ -51,7 +51,7 @@ export async function runAutoExport() {
|
||||
console.log('[autoExport] Démarrage de l\'export automatique…');
|
||||
|
||||
try {
|
||||
await db.backup(tmpDb);
|
||||
db.exec(`VACUUM INTO '${tmpDb.replace(/'/g, "''")}'`);
|
||||
const dbData = fs.readFileSync(tmpDb);
|
||||
|
||||
const now = new Date();
|
||||
|
||||
Reference in New Issue
Block a user