Alpha Release 0.0.12 #98

Merged
niggl merged 76 commits from dev into main 2021-01-13 19:33:09 +00:00
Showing only changes of commit 56cedf0144 - Show all commits

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 });