From bdd4f705bee079d052c17bc5fb1222c73d8aef47 Mon Sep 17 00:00:00 2001 From: Nicolai Ort Date: Tue, 29 Dec 2020 15:23:29 +0100 Subject: [PATCH] Adjusted return type, since async is no longer needed here (thanks to db relations) ref #56 --- src/models/entities/Donation.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/entities/Donation.ts b/src/models/entities/Donation.ts index 100f0bb..3ddc272 100644 --- a/src/models/entities/Donation.ts +++ b/src/models/entities/Donation.ts @@ -31,5 +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. */ - abstract amount: number | Promise; + abstract amount: number; } \ No newline at end of file