From 664c79dedf6732b0b14d50b877c59c1fe58d376b Mon Sep 17 00:00:00 2001 From: nineven Date: Mon, 1 Feb 2021 17:26:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fir_ser/api/utils/serializer.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/fir_ser/api/utils/serializer.py b/fir_ser/api/utils/serializer.py index 5d34eba..cdb95c0 100644 --- a/fir_ser/api/utils/serializer.py +++ b/fir_ser/api/utils/serializer.py @@ -263,7 +263,10 @@ class SuperSignUsedSerializer(serializers.ModelSerializer): return obj.udid.product def get_developer_id(self, obj): - return obj.developerid.email + developer_id = obj.developerid.email + if obj.developerid.issuer_id: + developer_id = obj.developerid.issuer_id + return developer_id def get_bundle_id(self, obj): return obj.app_id.bundle_id