Fixed typo

ref #66
This commit is contained in:
Nicolai Ort 2021-01-12 18:55:20 +01:00
parent bbaee7cd4d
commit 56cedf0144

View File

@ -22,7 +22,7 @@ export abstract class CreateDonation {
public abstract toEntity(): Promise<Donation>; public abstract toEntity(): Promise<Donation>;
/** /**
* Gets a runner based on the runner id provided via this.runner. * Gets a donor based on the donor id provided via this.donor.
*/ */
public async getDonor(): Promise<Donor> { public async getDonor(): Promise<Donor> {
const donor = await getConnection().getRepository(Donor).findOne({ id: this.donor }); const donor = await getConnection().getRepository(Donor).findOne({ id: this.donor });