Fixed bugs concerning posts

ref #13
This commit is contained in:
2020-12-05 10:59:15 +01:00
parent ef54dd5e9c
commit aca13f7308
5 changed files with 11 additions and 26 deletions

View File

@@ -15,7 +15,7 @@ export class RunnerTeam extends RunnerGroup {
* Optional
*/
@IsNotEmpty()
@ManyToOne(() => RunnerOrganisation, org => org.teams, { nullable: false })
@ManyToOne(() => RunnerOrganisation, org => org.teams, { nullable: true })
parentGroup?: RunnerOrganisation;
/**