From 4afbdce26d05426afdb804ae06ed1f2e562a2974 Mon Sep 17 00:00:00 2001 From: Cristhian Garcia Date: Thu, 31 Oct 2024 10:36:18 -0500 Subject: [PATCH 1/2] fix: add username to user_profile serializer --- platform_plugin_aspects/sinks/serializers.py | 2 ++ 1 file changed, 2 insertions(+) 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", From ecbea36e2ee93655e9e47857d6adbe9d7ff718e2 Mon Sep 17 00:00:00 2001 From: Cristhian Garcia Date: Thu, 31 Oct 2024 13:56:59 -0500 Subject: [PATCH 2/2] chore: bump version to v0.11.4 --- platform_plugin_aspects/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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__)))