Alpha Release 0.0.7 #73

Merged
niggl merged 74 commits from dev into main 2021-01-03 17:22:28 +00:00
Showing only changes of commit 1e2de7656e - Show all commits

View File

@ -1,7 +1,8 @@
import {
IsArray,
IsNotEmpty,
IsObject
IsObject,
IsOptional
} from "class-validator";
import { Address } from '../entities/Address';
import { RunnerOrganisation } from '../entities/RunnerOrganisation';
@ -17,7 +18,7 @@ export class ResponseRunnerOrganisation extends ResponseRunnerGroup {
* The runnerOrganisation's address.
*/
@IsObject()
@IsNotEmpty()
@IsOptional()
address?: Address;
/**
@ -32,7 +33,7 @@ export class ResponseRunnerOrganisation extends ResponseRunnerGroup {
*/
public constructor(org: RunnerOrganisation) {
super(org);
// this.address = org.address;
this.address = org.address;
this.teams = org.teams;
}
}