Verified Commit 341ba6a8 authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Fix returning member pk instead of user pk

parent 101be591
......@@ -223,7 +223,7 @@ class RegistrationListSerializer(serializers.ModelSerializer):
def _member(self, instance):
if instance.member:
return instance.member.pk
return instance.member.user.pk
return None
def _name(self, instance):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment