diff --git a/server/handler/transactions.go b/server/handler/transactions.go index 3e0f1a328..0663b5561 100644 --- a/server/handler/transactions.go +++ b/server/handler/transactions.go @@ -532,11 +532,6 @@ func (h *Handler) DeleteTransaction(c echo.Context) error { Message: "transaction not found", }) } - return c.JSON(http.StatusInternalServerError, model.ErrorResponse{ - Status: "error", - Message: "failed to fetch transaction details", - Log: err.Error(), - }) } // Delete the transaction