Small bugfix
Some checks failed
continuous-integration/drone/pr Build is failing

ref #39
This commit is contained in:
Nicolai Ort 2020-12-21 16:58:51 +01:00
parent 48bef8db60
commit 0ef6d9cc48

View File

@ -83,7 +83,7 @@ export class ImportRunner {
if (this.team === undefined) { return group; }
let team = await getConnectionManager().get().getRepository(RunnerTeam).findOne({ name: this.team, parentGroup: org });
let team = await getConnectionManager().get().getRepository(RunnerTeam).findOne({ name: this.team, parentGroup: group });
if (!team) {
let newRunnerTeam: RunnerTeam = new RunnerTeam();
newRunnerTeam.name = this.team;