fixxed missing imports and commented out a non-implemented function call
ref #11
This commit is contained in:
parent
f7beebce3f
commit
79eecbb329
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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.
|
||||||
|
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user