From a445e47f3dcbbd9ceed0411c3567799ce33fdb4c Mon Sep 17 00:00:00 2001 From: feng <1304903146@qq.com> Date: Tue, 25 Oct 2022 15:07:51 +0800 Subject: [PATCH] perf: account add platform_id --- apps/assets/serializers/account/account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/assets/serializers/account/account.py b/apps/assets/serializers/account/account.py index 5ef2bfde3..c47a697c2 100644 --- a/apps/assets/serializers/account/account.py +++ b/apps/assets/serializers/account/account.py @@ -54,7 +54,7 @@ class AccountSerializerCreateMixin(serializers.ModelSerializer): class AccountSerializer(AccountSerializerCreateMixin, BaseAccountSerializer): asset = ObjectRelatedField( required=False, queryset=Asset.objects, - label=_('Asset'), attrs=('id', 'name', 'address') + label=_('Asset'), attrs=('id', 'name', 'address', 'platform_id') ) class Meta(BaseAccountSerializer.Meta):