added return
This commit is contained in:
@@ -128,7 +128,7 @@ def salary_detect():
|
|||||||
logger.info(f"Failed to save salary: {e}")
|
logger.info(f"Failed to save salary: {e}")
|
||||||
|
|
||||||
# ***************************************************
|
# ***************************************************
|
||||||
# PART 2 SELECT * FROM salaries WHERE status IS NULL ORDER BY id ASC
|
# PART 2 SELECT * FROM salaries WHERE status IS 'START' ORDER BY id ASC
|
||||||
# **************************************************
|
# **************************************************
|
||||||
|
|
||||||
#in the loop
|
#in the loop
|
||||||
@@ -145,7 +145,8 @@ def salary_detect():
|
|||||||
# initiated_by='SALARY_DETECT'
|
# initiated_by='SALARY_DETECT'
|
||||||
# )
|
# )
|
||||||
|
|
||||||
# by the time you call this you must be on repayment table
|
# by the time you call this you must be on repayment table
|
||||||
response = SimbrellaClient.collect_loan_user_salary_detect(data)
|
SimbrellaClient.collect_loan_user_salary_detect(data)
|
||||||
|
return_data=[]
|
||||||
|
|
||||||
return response
|
return ResponseHelper.success(return_data, "AutoCall Successful")
|
||||||
|
|||||||
Reference in New Issue
Block a user