diff --git a/platform_plugin_aspects/__init__.py b/platform_plugin_aspects/__init__.py index fc3dda4..49afbc2 100644 --- a/platform_plugin_aspects/__init__.py +++ b/platform_plugin_aspects/__init__.py @@ -5,6 +5,6 @@ import os from pathlib import Path -__version__ = "0.11.3" +__version__ = "0.11.4" ROOT_DIRECTORY = Path(os.path.dirname(os.path.abspath(__file__))) diff --git a/platform_plugin_aspects/sinks/serializers.py b/platform_plugin_aspects/sinks/serializers.py index ca04686..b20315d 100644 --- a/platform_plugin_aspects/sinks/serializers.py +++ b/platform_plugin_aspects/sinks/serializers.py @@ -62,6 +62,7 @@ class UserProfileSerializer(BaseSinkSerializer, serializers.ModelSerializer): """Serializer for user profile events.""" email = serializers.CharField(source="user.email") + username = serializers.CharField(source="user.username") class Meta: """Meta class for user profile serializer.""" @@ -72,6 +73,7 @@ class Meta: "id", "user_id", "name", + "username", "email", "meta", "courseware",