@@ -8,7 +8,7 @@ import { CreateRunnerGroup } from './CreateRunnerGroup';
|
||||
export class CreateRunnerOrganisation extends CreateRunnerGroup {
|
||||
/**
|
||||
* The new organisation's address.
|
||||
* Must be of type number (address id), createAddress (new address) or address (existing address)
|
||||
* Must be of type number (address id).
|
||||
* Optional.
|
||||
*/
|
||||
@IsInt()
|
||||
@@ -16,7 +16,7 @@ export class CreateRunnerOrganisation extends CreateRunnerGroup {
|
||||
address?: number;
|
||||
|
||||
/**
|
||||
* Creates a Participant entity from this.
|
||||
* Get's this org's address from this.address.
|
||||
*/
|
||||
public async getAddress(): Promise<Address> {
|
||||
if (this.address === undefined) {
|
||||
|
||||
Reference in New Issue
Block a user