mirror of
https://github.com/fergalmoran/dss.api.git
synced 2025-12-23 01:40:40 +00:00
Fixed realtime ('ish)
This commit is contained in:
@@ -188,6 +188,7 @@ class ObtainUser(APIView):
|
||||
status=status.HTTP_200_OK, data={
|
||||
'id': request.user.id,
|
||||
'name': request.user.username,
|
||||
'session': request.user.userprofile.get_session_id(),
|
||||
'slug': request.user.userprofile.slug,
|
||||
'userRole': 'user'
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user