From 8ec0b8210c33c725a6d041ecca8626e5ba463928 Mon Sep 17 00:00:00 2001 From: Aleksandar Petkov Date: Thu, 21 Dec 2023 10:33:11 +0200 Subject: [PATCH] src/donations: Allow status update from status declined (#589) --- apps/api/src/donations/helpers/donation-status-updates.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/src/donations/helpers/donation-status-updates.ts b/apps/api/src/donations/helpers/donation-status-updates.ts index c757e89ec..532c14974 100644 --- a/apps/api/src/donations/helpers/donation-status-updates.ts +++ b/apps/api/src/donations/helpers/donation-status-updates.ts @@ -5,13 +5,13 @@ const changeable: DonationStatus[] = [ DonationStatus.incomplete, DonationStatus.paymentRequested, DonationStatus.waiting, + DonationStatus.declined, DonationStatus.guaranteed, ] const final: DonationStatus[] = [ DonationStatus.succeeded, DonationStatus.cancelled, DonationStatus.deleted, - DonationStatus.declined, DonationStatus.invalid, DonationStatus.refund, ]