mirror of
https://github.com/fergalmoran/dss.api.git
synced 2025-12-24 02:08:54 +00:00
Waveform signalling fixes
This commit is contained in:
@@ -181,7 +181,8 @@ class ObtainUser(APIView):
|
||||
'id': request.user.id,
|
||||
'name': request.user.username,
|
||||
'slug': request.user.userprofile.slug,
|
||||
'userRole': 'user'
|
||||
'session': request.user.userprofile.get_session_id(),
|
||||
'userRole': 'user',
|
||||
})
|
||||
else:
|
||||
return Response(status=status.HTTP_401_UNAUTHORIZED)
|
||||
|
||||
Reference in New Issue
Block a user