mirror of
https://github.com/TurTaskProject/TurTaskWeb.git
synced 2025-12-18 13:34:08 +01:00
add field
This commit is contained in:
parent
cbe1e04da0
commit
3c74d43f49
@ -63,7 +63,7 @@ class CustomUserProfileUpdate(APIView):
|
||||
return Response(serializer.data)
|
||||
return Response(serializer.errors, status=status.HTTP_400_BAD_REQUEST)
|
||||
|
||||
|
||||
|
||||
class UserDataRetriveViewset(viewsets.GenericViewSet, mixins.RetrieveModelMixin):
|
||||
queryset = CustomUser.objects.all()
|
||||
permission_classes = (IsAuthenticated,)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user