Skip to content

Commit

Permalink
return user display name instead of UUID
Browse files Browse the repository at this point in the history
  • Loading branch information
jeriox committed Mar 27, 2024
1 parent ffed9c1 commit e37cfa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pretix_wallet/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def get_price(self, obj):

class WalletSerializer(ModelSerializer):
token_id = CharField(source='customer.wallet.giftcard.linked_media.first.identifier')
paired_user = CharField(source='customer.external_identifier')
paired_user = CharField(source='customer.name_cached')
balance = SerializerMethodField()
created_at = DateTimeField(source='customer.wallet.giftcard.issuance')

Expand Down

0 comments on commit e37cfa2

Please sign in to comment.