From a8d1ec6f9b3a3a4673945de9143b299cac1933f8 Mon Sep 17 00:00:00 2001 From: Nicolai Ort Date: Tue, 1 Dec 2020 17:50:43 +0100 Subject: [PATCH] Marked amount as abstract ref #11 --- src/models/Donation.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/models/Donation.ts b/src/models/Donation.ts index 3ccdafc..87f4e80 100644 --- a/src/models/Donation.ts +++ b/src/models/Donation.ts @@ -31,6 +31,5 @@ export abstract class Donation { * The donation's amount in cents (or whatever your currency's smallest unit is.). * The exact implementation may differ for each type of donation. */ - @IsInt() - amount: number; + abstract amount: number; } \ No newline at end of file