diff --git a/src/models/responses/ResponseSelfServiceRunner.ts b/src/models/responses/ResponseSelfServiceRunner.ts index 00fe9b9..f558e82 100644 --- a/src/models/responses/ResponseSelfServiceRunner.ts +++ b/src/models/responses/ResponseSelfServiceRunner.ts @@ -38,10 +38,10 @@ export class ResponseSelfServiceRunner extends ResponseParticipant implements IR group: string; /** - * The runner's associated donations. + * The runner's associated distance donations. */ @IsString() - donations: ResponseSelfServiceDonation[] + distanceDonations: ResponseSelfServiceDonation[] /** * The runner's self-service jwt for auth. @@ -60,7 +60,7 @@ export class ResponseSelfServiceRunner extends ResponseParticipant implements IR this.distance = runner.distance; this.donationAmount = runner.distanceDonationAmount; this.group = this.getTeamString(runner.group); - this.donations = this.getDonations(runner.distanceDonations); + this.distanceDonations = this.getDonations(runner.distanceDonations); } /**