From fc5aa555e533431257c4ca3d5a9e56b2d10a170e Mon Sep 17 00:00:00 2001 From: Sicherhaven Date: Fri, 3 Apr 2026 09:14:37 +0530 Subject: [PATCH] feat(api): return eventify_id in StatusView response Adds `eventify_id` to the `/api/user/status/` endpoint so that `initProfileTickets` can fetch the EVT-XXXXXXXX badge for users whose localStorage session pre-dates the eventify_id login field. --- mobile_api/views/user.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mobile_api/views/user.py b/mobile_api/views/user.py index 4d5c7b0..c640632 100644 --- a/mobile_api/views/user.py +++ b/mobile_api/views/user.py @@ -122,7 +122,8 @@ class StatusView(View): return JsonResponse({ "status": "logged_in", "username": user.username, - "email": user.email + "email": user.email, + "eventify_id": user.eventify_id or '', }) except Exception as e: