Updated the loan service end

This commit is contained in:
CHIEFSOFT\ameye
2025-05-30 17:26:00 -04:00
parent 38c7bf16d4
commit fad8315d5e
2 changed files with 28 additions and 12 deletions
+6 -1
View File
@@ -127,10 +127,15 @@ class KafkaIntegration:
logger.info(f"Calling disbursement service with message: {message}")
try:
response = SimbrellaClient.disbursement(message)
response = SimbrellaClient.disburse_loan(message)
logger.info(
f"Successfully sent message to disbursement service: {response}"
)
# LoanService.set_disbursement_date(loan_id=loan_data['debtId'],
# customer_id=customerId) # must mark it on way out
#
except Exception as e:
logger.info(f"Failed to call disbursement service: {e}")
#raise