clean up active loans
This commit is contained in:
@@ -35,7 +35,7 @@ class SimbrellaIntegration:
|
|||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
logger.error(f"This is PayLoad: {str(payload)}", exc_info=True)
|
logger.info(f"This is PayLoad: {str(payload)}", exc_info=True)
|
||||||
|
|
||||||
headers = {
|
headers = {
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
@@ -46,7 +46,7 @@ class SimbrellaIntegration:
|
|||||||
try:
|
try:
|
||||||
response = httpx.post(url, json=payload, headers=headers, timeout=10.0)
|
response = httpx.post(url, json=payload, headers=headers, timeout=10.0)
|
||||||
|
|
||||||
logger.error(f"This is Response: {str(response)}", exc_info=True)
|
logger.info(f"This is Response: {str(response)}", exc_info=True)
|
||||||
|
|
||||||
return response
|
return response
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -148,7 +148,7 @@ class Loan(db.Model):
|
|||||||
"resultDescription": "No Active Loan"
|
"resultDescription": "No Active Loan"
|
||||||
}
|
}
|
||||||
|
|
||||||
logger.info(f"{loan}")
|
logger.info(f" Active Loan ==>>>> {loan}")
|
||||||
|
|
||||||
return loan
|
return loan
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user