fix: Fixed autobackup feature.

This commit is contained in:
fgbona 2026-03-27 22:51:35 -03:00
parent 1a992b7b4e
commit c5e41f2228
No known key found for this signature in database
GPG Key ID: CB09EED717194816

View File

@ -5,7 +5,7 @@ import multer from 'multer';
import path from 'path'; import path from 'path';
import fs from 'fs'; import fs from 'fs';
import { authenticate, adminOnly } from '../middleware/auth'; import { authenticate, adminOnly } from '../middleware/auth';
import scheduler from '../scheduler'; import * as scheduler from '../scheduler';
import { db, closeDb, reinitialize } from '../db/database'; import { db, closeDb, reinitialize } from '../db/database';
const router = express.Router(); const router = express.Router();