diff --git a/app/integrations/simbrella.py b/app/integrations/simbrella.py index a08e925..72217f2 100644 --- a/app/integrations/simbrella.py +++ b/app/integrations/simbrella.py @@ -17,7 +17,7 @@ class SimbrellaClient: # Check if the transaction exists logger.info(f"Checking if transaction exists") - transaction = TransactionService.get_transaction_by_id(transaction_id=data['transactionId']) + transaction = TransactionService.get_transaction_by_transaction_id(transaction_id=data['transactionId']) logger.info(f"Response from database: {transaction}") if not transaction: diff --git a/app/services/transactions.py b/app/services/transactions.py index 3ce6177..bc09457 100644 --- a/app/services/transactions.py +++ b/app/services/transactions.py @@ -3,7 +3,7 @@ from app.models import Transaction class TransactionService: @staticmethod - def get_transaction_by_id(transaction_id): + def get_transaction_by_transaction_id(transaction_id): """ Get the transaction by ID """