Commit b5a11cef authored by Thom Wiggers's avatar Thom Wiggers 📐
Browse files

Merge branch 'fix/return-user-pk-for-member' into 'master'

Fix returning member pk instead of user pk

See merge request !594
parents 832e0482 341ba6a8
......@@ -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