ref #193
This commit is contained in:
parent
49b174f29f
commit
8fe3243693
@ -32,6 +32,7 @@ export class UpdateDistanceDonation extends UpdateDonation {
|
|||||||
*/
|
*/
|
||||||
public async update(donation: DistanceDonation): Promise<DistanceDonation> {
|
public async update(donation: DistanceDonation): Promise<DistanceDonation> {
|
||||||
donation.amountPerDistance = this.amountPerDistance;
|
donation.amountPerDistance = this.amountPerDistance;
|
||||||
|
donation.payedAmount = this.payedAmount;
|
||||||
donation.donor = await this.getDonor();
|
donation.donor = await this.getDonor();
|
||||||
donation.runner = await this.getRunner();
|
donation.runner = await this.getRunner();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user