Little comment cleanup

ref #13
This commit is contained in:
2020-12-10 19:36:49 +01:00
parent f3000f14cd
commit 02877ece9c
6 changed files with 11 additions and 14 deletions

View File

@@ -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) {