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.
This commit is contained in:
2026-04-03 09:14:37 +05:30
parent 9d61967350
commit fc5aa555e5

View File

@@ -122,7 +122,8 @@ class StatusView(View):
return JsonResponse({ return JsonResponse({
"status": "logged_in", "status": "logged_in",
"username": user.username, "username": user.username,
"email": user.email "email": user.email,
"eventify_id": user.eventify_id or '',
}) })
except Exception as e: except Exception as e: