feature/#34-backup-&-import #57

Merged
jkeffects merged 24 commits from feature/#34-backup-&-import into develop 2025-02-03 10:08:19 +00:00
3 changed files with 3 additions and 3 deletions
Showing only changes of commit 542a77fbef - Show all commits

View file

@ -54,7 +54,7 @@ export async function createManualBackup(req: Request, res: Response): Promise<a
export async function restoreBackupByLocalFile(req: Request, res: Response): Promise<any> {
let filename = req.body.filename;
let partial = req.body.partial;
let include = req.body.includes;
let include = req.body.include;
await BackupHelper.loadBackup({ filename, include, partial });

View file

@ -120,7 +120,7 @@ export default abstract class BackupHelper {
throw new InternalException("partial and include have to be set correctly for restoring backup.");
}
dataSource.manager
await dataSource.manager
.transaction(async (transaction) => {
this.transactionManager = transaction;

View file

@ -7,7 +7,7 @@ import {
getGeneratedBackups,
restoreBackupByLocalFile,
uploadBackupFile,
} from "../../../controller/admin/club/backupController";
} from "../../../controller/admin/user/backupController";
const storage = multer.diskStorage({
destination: (req, file, cb) => {