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

@@ -37,7 +37,7 @@ export class CreateRunnerTeam extends CreateRunnerGroup {
/**
* Creates a new RunnerTeam entity from this.
*/
public async toRunnerTeam(): Promise<RunnerTeam> {
public async toEntity(): Promise<RunnerTeam> {
let newRunnerTeam: RunnerTeam = new RunnerTeam();
newRunnerTeam.name = this.name;