logger info

This commit is contained in:
2025-04-27 20:12:17 -04:00
parent 24849582df
commit 97dcd49194
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -122,6 +122,8 @@ class LoanService:
limit=limit
)
logger.info(f"Result from loans model cme back")
# Convert loans to dictionary format
loans_data = []
for loan in loans:
+1 -1
View File
@@ -86,7 +86,7 @@ class Loan(db.Model):
list: List of Loan objects
"""
query = cls.query
logger.info(f"Get all loan models from loans model cme back")
# Apply filters if provided
if customer_id:
query = query.filter(cls.customer_id == customer_id)