diff --git a/app/api/services/loan_status.py b/app/api/services/loan_status.py index 5395e5c..34376ac 100644 --- a/app/api/services/loan_status.py +++ b/app/api/services/loan_status.py @@ -30,6 +30,7 @@ class LoanStatusService(BaseService): validated_data = LoanStatusService.validate_data(data, LoanStatusSchema()) customer_id = validated_data.get('customerId') + logger.info(f"Looking for customer *** {customer_id}") customer = Customer.get_customer(customer_id) transactionId = validated_data.get('transactionId') account_id = validated_data.get('accountId') diff --git a/app/models/customer.py b/app/models/customer.py index ada8123..f8d07e0 100644 --- a/app/models/customer.py +++ b/app/models/customer.py @@ -76,7 +76,6 @@ class Customer(db.Model): """ Get customer by ID. """ - logger.error(f"Looking for customer *** {customer_id}") customer = cls.query.filter_by(id=customer_id).first() if not customer: