Implemented cascading scan, track and card deletion

ref #78
This commit is contained in:
2021-01-09 15:43:52 +01:00
parent 9013b9492c
commit 3d07aac944
5 changed files with 20 additions and 6 deletions

View File

@@ -97,7 +97,7 @@ export class RunnerCardController {
}
const scanController = new ScanController;
for (let scan of cardScans) {
scanController.remove(scan.id, force);
await scanController.remove(scan.id, force);
}
await this.cardRepository.delete(card);