Remove logger
This commit is contained in:
@@ -30,6 +30,7 @@ class LoanStatusService(BaseService):
|
|||||||
validated_data = LoanStatusService.validate_data(data, LoanStatusSchema())
|
validated_data = LoanStatusService.validate_data(data, LoanStatusSchema())
|
||||||
|
|
||||||
customer_id = validated_data.get('customerId')
|
customer_id = validated_data.get('customerId')
|
||||||
|
logger.info(f"Looking for customer *** {customer_id}")
|
||||||
customer = Customer.get_customer(customer_id)
|
customer = Customer.get_customer(customer_id)
|
||||||
transactionId = validated_data.get('transactionId')
|
transactionId = validated_data.get('transactionId')
|
||||||
account_id = validated_data.get('accountId')
|
account_id = validated_data.get('accountId')
|
||||||
|
|||||||
@@ -76,7 +76,6 @@ class Customer(db.Model):
|
|||||||
"""
|
"""
|
||||||
Get customer by ID.
|
Get customer by ID.
|
||||||
"""
|
"""
|
||||||
logger.error(f"Looking for customer *** {customer_id}")
|
|
||||||
customer = cls.query.filter_by(id=customer_id).first()
|
customer = cls.query.filter_by(id=customer_id).first()
|
||||||
|
|
||||||
if not customer:
|
if not customer:
|
||||||
|
|||||||
Reference in New Issue
Block a user