collect_loan_user_initiated
This commit is contained in:
@@ -146,7 +146,7 @@ class KafkaIntegration:
|
||||
logger.info(f"Calling collect_loan service with message: {message}")
|
||||
|
||||
try:
|
||||
response = SimbrellaClient.collect_loan(message)
|
||||
response = SimbrellaClient.collect_loan_user_initiated(message)
|
||||
logger.info(
|
||||
f"Successfully sent message to collect_loan service: {response}"
|
||||
)
|
||||
|
||||
@@ -180,6 +180,7 @@ class SimbrellaClient:
|
||||
@staticmethod
|
||||
def collect_loan_user_initiated(data):
|
||||
# InitiatedBy = USER_INITIATED
|
||||
logger.info(f"Calling CollectLoan collect_loan_user_initiated ******* endpoint with data: {data}")
|
||||
return SimbrellaClient._collect_loan(data)
|
||||
|
||||
@staticmethod
|
||||
|
||||
Reference in New Issue
Block a user