logger info
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user