diff --git a/app/api/services/office_dashboard.py b/app/api/services/office_dashboard.py index 5e6ca0b..6f3b801 100644 --- a/app/api/services/office_dashboard.py +++ b/app/api/services/office_dashboard.py @@ -463,15 +463,14 @@ class OfficeDashboardService(BaseService): recent_login_data = [] for subs in recentLogin: recent_login_data.append({ - 'id': subs.id, + 'member_id': subs.id, 'firstname' : subs.firstname, 'lastname' : subs.lastname, 'username' : subs.username, + 'member_uid': subs.uid, "added": subs.added, }) - - # Calculate total pages total_pages = (total_count + limit - 1) // limit @@ -493,6 +492,7 @@ class OfficeDashboardService(BaseService): 'recent_payment_summary': recent_payment_summary, 'recent_deployment_summary': recent_deployment_summary, 'recent_login': recent_login_data, + 'recent_signup': recent_login_data, 'recent_deployment_error': [], }