@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user