Fixed spelling
All checks were successful
continuous-integration/drone/pr Build is passing

ref #193
This commit is contained in:
2021-04-14 18:54:02 +02:00
parent 8ae4b85827
commit da266a8dd6
13 changed files with 38 additions and 37 deletions

View File

@@ -34,12 +34,12 @@ export class Donor extends Participant {
}
/**
* Returns the total payed donations of a donor based on his linked donations.
* Returns the total paid donations of a donor based on his linked donations.
*/
@IsInt()
public get payedDonationAmount(): number {
public get paidDonationAmount(): number {
if (!this.donations) { return 0; }
return this.donations.reduce((sum, current) => sum + current.payedAmount, 0);
return this.donations.reduce((sum, current) => sum + current.paidAmount, 0);
}
/**