From 5453894713a229745ce38fe3815fea760a7d284a Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Mon, 16 Dec 2024 06:45:50 -0500 Subject: [PATCH] More data --- services/web/project/__init__.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/services/web/project/__init__.py b/services/web/project/__init__.py index 5a6d92b..c0d814b 100644 --- a/services/web/project/__init__.py +++ b/services/web/project/__init__.py @@ -231,6 +231,14 @@ def panel_account(current_user): @app.route("/panel/account/dash") @token_required def dashboard(current_user): + print( current_user) + FIND_USER_DETAIL= "SSELECT id,uid,username,updated,email,account_name, firstname, lastname FROM members LIMIT 1" + with connection: + with connection.cursor(cursor_factory=psycopg2.extras.DictCursor) as cursor: + cursor.execute(FIND_USER_DETAIL) + account = cursor.fetchall() + print(account[0]) + dash_data = { "username": "sanyaameye", "account_name": "This is the test account name",