From 6807f274add8641ae97aefc2f813b8e66b0e3318 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Thu, 12 Dec 2024 14:50:34 -0500 Subject: [PATCH] fix data --- services/web/project/__init__.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/services/web/project/__init__.py b/services/web/project/__init__.py index 361b80c..82ea235 100644 --- a/services/web/project/__init__.py +++ b/services/web/project/__init__.py @@ -162,12 +162,18 @@ def dashboard(current_user): @app.route("/panel/account/products") @token_required -def panel_products(): +def panel_products(current_user): + "last_update": "10-10-2021 10 AM", + "products": [ + {"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'}, + {"no": "2", "description": "Web Traffic Analysis" , "date": "10-12-2010 11:30 AM", "status": 'verifying'}, + ] return jsonify(hello="ameye world") @app.route("/panel/account/actions") @token_required -def recent_actions(): +def recent_actions(current_user): action_data = { "last_update": "10-10-2021 10 AM", "initial": "0",