Fixed runner scan validation bug

ref #67
This commit is contained in:
2021-01-07 16:59:57 +01:00
parent e67d1c5697
commit edac1a224c
3 changed files with 2 additions and 3 deletions

View File

@@ -53,7 +53,6 @@ export class ScanController {
async post(@Body({ validate: true }) createScan: CreateScan) {
let scan = await createScan.toScan();
scan = await this.scanRepository.save(scan);
console.log(scan);
return (await this.scanRepository.findOne({ id: scan.id }, { relations: ['runner'] })).toResponse();
}