This commit is contained in:
CHIEFSOFT\ameye
2025-05-30 20:36:44 -04:00
parent 8c50e5a98f
commit cf2e1fc2a7
3 changed files with 13 additions and 1 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ class SimbrellaClient:
logger.info(f"Checking if repayment exists")
repayment = RepaymentService.get_repayment_by_transaction_id(transaction_id=data['transactionId'])
logger.info(f"Repayment Response From Database ** : {repayment}")
loan = LoanService.get_loan_charge_by_debt_id(debt_id=repayment.loan_id)
loan = LoanService.get_loan_by_debt_id(debt_id=repayment.loan_id)
# If repayment is not found
if not repayment: