From 8f046639f9fe680d87e1da7acec1963c8bc7ed0c Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Mon, 16 Dec 2024 06:49:41 -0500 Subject: [PATCH] Current user --- services/web/project/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/project/__init__.py b/services/web/project/__init__.py index 51d25bc..40c7583 100644 --- a/services/web/project/__init__.py +++ b/services/web/project/__init__.py @@ -231,7 +231,7 @@ def panel_account(current_user): @app.route("/panel/account/dash") @token_required def dashboard(current_user): - print( current_user) + print( current_user["user"]["uid"]) FIND_USER_DETAIL= "SELECT 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: