diff --git a/website/serializers.py b/website/serializers.py index 35a578ce8..9d16d0a2c 100644 --- a/website/serializers.py +++ b/website/serializers.py @@ -6,7 +6,7 @@ class UserSerializer(serializers.ModelSerializer): class Meta: model = User - fields = ('id','username','email') + fields = ('id','username') class IssueSerializer(serializers.ModelSerializer): user = UserSerializer(read_only=True) @@ -44,4 +44,4 @@ class DomainViewSet(viewsets.ModelViewSet): router = routers.DefaultRouter() router.register(r'issues', IssueViewSet, base_name="issues") router.register(r'profile', UserProfileViewSet, base_name="profile") -router.register(r'domain', DomainViewSet, base_name="domain") \ No newline at end of file +router.register(r'domain', DomainViewSet, base_name="domain")