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