Updated the loan service end
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user