From 20c9a5c71318d824ff7beecd19849642e8e7bf1e Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Sat, 24 May 2025 07:08:03 -0400 Subject: [PATCH] Remove logger --- app/api/services/loan_status.py | 1 + app/models/customer.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) 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: