diff --git a/backend/main.py b/backend/main.py index 86f625a..6697f97 100644 --- a/backend/main.py +++ b/backend/main.py @@ -1573,6 +1573,7 @@ def get_student_detail(user_id: UUID, session: Session = Depends(get_session), c "created_at": user.created_at.isoformat(), "last_active": user.last_active.isoformat(), "subscription_end": user.subscription_end.isoformat() if user.subscription_end else None, + "trial_end": user.trial_end.isoformat() if user.trial_end else None, "profile_image_url": user.profile_image_url, "stats": { "total_tests": len(attempts), diff --git a/src/app/dashboard/layout.tsx b/src/app/dashboard/layout.tsx index f61194b..80aa8e5 100644 --- a/src/app/dashboard/layout.tsx +++ b/src/app/dashboard/layout.tsx @@ -414,7 +414,7 @@ export default function DashboardLayout({ children }: { children: ReactNode }) { {trialInfo.isTrialActive && (