Merge branch 'testing' of DigiFi/FirstCore into master

This commit is contained in:
2025-04-29 11:03:11 +00:00
committed by Gogs
+3 -1
View File
@@ -30,6 +30,7 @@ class TransactionService:
# Extract filters
account_id = filters.get('account_id')
transaction_id = filters.get('transaction_id')
transaction_type = filters.get('type')
channel = filters.get('channel')
start_date = filters.get('start_date')
@@ -54,6 +55,7 @@ class TransactionService:
# Get transactions with optional filters and pagination
transactions, total_count = Transaction.get_all_transactions(
account_id=account_id,
transaction_id=transaction_id,
transaction_type=transaction_type,
channel=channel,
start_date=start_date,
@@ -97,4 +99,4 @@ class TransactionService:
logger.error(f"An error occurred: {str(e)}", exc_info=True)
return jsonify({
"message": "Internal Server Error"
}), 500
}), 500