1 parent
e67d1c5697
commit
edac1a224c
3 files changed
+2
-3
No files matched your search
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user