Switched to accepting ids (numbers/number arrays) feature/90-accept_objects #101

Merged
niggl merged 26 commits from feature/90-accept_objects into dev 2021-01-15 17:57:47 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 077174a9a2 - Show all commits

View File

@ -11,7 +11,7 @@ import { CreateDonation } from './CreateDonation';
export class CreateDistanceDonation extends CreateDonation { export class CreateDistanceDonation extends CreateDonation {
/** /**
* The donation's associated runner. * The donation's associated runner's id.
* This is important to link the runner's distance ran to the donation. * This is important to link the runner's distance ran to the donation.
*/ */
@IsInt() @IsInt()

View File

@ -9,7 +9,7 @@ import { Donor } from '../../entities/Donor';
*/ */
export abstract class CreateDonation { export abstract class CreateDonation {
/** /**
* The donation's associated donor. * The donation's associated donor's id.
* This is important to link donations to donors. * This is important to link donations to donors.
*/ */
@IsInt() @IsInt()