Moved all update() and toEntity action model functions to async

ref #76
This commit is contained in:
2021-01-10 16:53:59 +01:00
parent 3f7b0f6563
commit 3deae2bfeb
5 changed files with 5 additions and 5 deletions

View File

@@ -54,7 +54,7 @@ export class RunnerTeamController {
async post(@Body({ validate: true }) createRunnerTeam: CreateRunnerTeam) {
let runnerTeam;
try {
runnerTeam = await createRunnerTeam.toRunnerTeam();
runnerTeam = await createRunnerTeam.toEntity();
} catch (error) {
throw error;
}