This commit is contained in:
CHIEFSOFT\ameye
2024-12-13 07:41:35 -05:00
parent fc9439cdc8
commit 951b3cd4c7
+8 -2
View File
@@ -68,8 +68,8 @@ def hello_world():
with connection.cursor() as cursor:
cursor.execute(GLOBAL_AVG)
account = cursor.fetchone()
#return jsonify(hello="ameye world")
return {"account": account}
return jsonify(hello="ameye world")
# return {"account": account}
@app.route("/panel/auth/login", methods=["POST"])
@@ -185,6 +185,12 @@ def recent_actions(current_user):
"processing": "0",
"verifying" : "0",
"completed" : "0",
"top_bar": [
{"id": "1", "description": "Contacts" , "last_update": "10-10-2010 11:00 AM", "value": '0'},
{"id": "2", "description": "Site Traffic" , "last_update": "10-10-2010 11:30 AM", "value": '0'},
{"id": "3", "description": "Appointments" , "last_update": "10-12-2010 11:30 AM", "value": '0'},
{"id": "4", "description": "Purchases" , "last_update": "10-12-2010 11:30 AM", "value": '0'},
],
"actions": [
{"no": "1", "description": "Welcome to MERMS" , "date": "10-10-2010 11:00 AM", "status": 'completed'},
{"no": "2", "description": "Personal Blog Setup" , "date": "10-10-2010 11:30 AM", "status": 'processing'},