latest work #20

Merged
philipp merged 233 commits from dev into main 2020-12-09 18:49:33 +00:00
3 changed files with 3 additions and 1 deletions
Showing only changes of commit 79eecbb329 - Show all commits

View File

@ -33,7 +33,7 @@ export class DistanceDonation extends Donation {
public get amount(): number { public get amount(): number {
let calculatedAmount = -1; let calculatedAmount = -1;
try { try {
calculatedAmount = this.amountPerDistance * this.runner.getDistance(); //calculatedAmount = this.amountPerDistance * this.runner.getDistance();
} catch (error) { } catch (error) {
throw error; throw error;
} }

View File

@ -5,6 +5,7 @@ import {
IsOptional, IsOptional,
IsString, IsString,
} from "class-validator"; } from "class-validator";
import { GroupContact } from "./GroupContact";
/** /**
* Defines the runnerGroup interface. * Defines the runnerGroup interface.

View File

@ -5,6 +5,7 @@ import {
IsOptional, IsOptional,
IsPositive, IsPositive,
} from "class-validator"; } from "class-validator";
import { Runner } from "./Runner";
/** /**
* Defines the scan interface. * Defines the scan interface.