Now with working runner orga controller including responses

ref #13
This commit is contained in:
2020-12-04 21:55:09 +01:00
parent a437ada3b3
commit 7b08489533
3 changed files with 79 additions and 26 deletions

View File

@@ -106,7 +106,8 @@ export class RunnerTeamController {
runnerController.remove(runner.id, true)
});
await this.runnerTeamRepository.delete(runnerTeam);
return new ResponseRunnerTeam(runnerTeam);
const responseTeam = new ResponseRunnerTeam(runnerTeam);
await this.runnerTeamRepository.delete({ id: runnerTeam.id });
return responseTeam;
}
}