From 75de48d64723359cf92a28093dcf7480e8ecaf28 Mon Sep 17 00:00:00 2001 From: alireza Date: Mon, 7 Apr 2025 18:54:34 +0330 Subject: [PATCH] fix delete --- apps/transaction/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/transaction/views.py b/apps/transaction/views.py index 5502545..e3e350e 100644 --- a/apps/transaction/views.py +++ b/apps/transaction/views.py @@ -120,4 +120,4 @@ class SoftDeleteTransactionParticipantView(APIView): ) except TransactionParticipant.DoesNotExist: - return AppAPIException({'message': "Transaction participant not found"}) + raise AppAPIException({'message': "Transaction participant not found"})