Loan data logs
This commit is contained in:
@@ -25,7 +25,7 @@ class SimbrellaClient:
|
|||||||
# Check if the transaction exists
|
# Check if the transaction exists
|
||||||
logger.info(f"Checking if transaction exists")
|
logger.info(f"Checking if transaction exists")
|
||||||
transaction = TransactionService.get_transaction_by_transaction_id(transaction_id=data['transactionId'])
|
transaction = TransactionService.get_transaction_by_transaction_id(transaction_id=data['transactionId'])
|
||||||
logger.info(f"Response from database: {transaction}")
|
logger.info(f"Loan Response From Database ** : {transaction}")
|
||||||
|
|
||||||
# If transaction is not found
|
# If transaction is not found
|
||||||
if not transaction:
|
if not transaction:
|
||||||
@@ -90,7 +90,7 @@ class SimbrellaClient:
|
|||||||
# Check if the repayment exists
|
# Check if the repayment exists
|
||||||
logger.info(f"Checking if repayment exists")
|
logger.info(f"Checking if repayment exists")
|
||||||
repayment = RepaymentService.get_repayment_by_transaction_id(transaction_id=data['transactionId'])
|
repayment = RepaymentService.get_repayment_by_transaction_id(transaction_id=data['transactionId'])
|
||||||
logger.info(f"Response from database: {repayment}")
|
logger.info(f"Repayment Response From Database ** : {repayment}")
|
||||||
|
|
||||||
# If repayment is not found
|
# If repayment is not found
|
||||||
if not repayment:
|
if not repayment:
|
||||||
|
|||||||
Reference in New Issue
Block a user