fixxed missing imports and commented out a non-implemented function call

ref #11
This commit is contained in:
niggl committed 2020-12-01 18:48:28 +01:00
1 parent f7beebce3f
commit 79eecbb329
3 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -33,7 +33,7 @@ export class DistanceDonation extends Donation {
public get amount(): number {
let calculatedAmount = -1;
try {
calculatedAmount = this.amountPerDistance * this.runner.getDistance();
//calculatedAmount = this.amountPerDistance * this.runner.getDistance();
} catch (error) {
throw error;
}
+1
View File
@@ -5,6 +5,7 @@ import {
IsOptional,
IsString,
} from "class-validator";
import { GroupContact } from "./GroupContact";
/**
* Defines the runnerGroup interface.
+1
View File
@@ -5,6 +5,7 @@ import {
IsOptional,
IsPositive,
} from "class-validator";
import { Runner } from "./Runner";
/**
* Defines the scan interface.