1 parent
24de82f6df
commit
cc68948a20
2 files changed
+10
-13
No files matched your search
@@ -81,7 +81,7 @@ export class RunnerController {
|
||||
throw new RunnerIdsNotMatchingError();
|
||||
}
|
||||
|
||||
await this.runnerRepository.update(oldRunner, await runner.toRunner());
|
||||
await this.runnerRepository.save(await runner.updateRunner(oldRunner));
|
||||
return new ResponseRunner(await this.runnerRepository.findOne({ id: id }, { relations: ['scans', 'group'] }));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user