This commit is contained in:
CHIEFSOFT\ameye
2025-02-22 07:41:47 -05:00
parent ef99e8d3da
commit a88f364934
+2 -2
View File
@@ -405,8 +405,8 @@ def load_offer(loan,bvn):
select_demoS = cursor.fetchall()
loan_data = json.dumps( [dict(ix) for ix in select_demoS] )
loan_result = json.loads( loan_data[0] )
return json.loads( loan_data[0] )
loan_result = json.loads( loan_data )
return json.loads( loan_data )
def offers():
OFFER_QUERY = "SELECT uid AS cid,loan,amount,description,days_duration,active FROM loan_offers ORDER BY amount ASC"