fix: fix conflicts

pull/10196/head
Bai 2 years ago committed by Jiangjie.Bai
parent 928513edd0
commit 21da805e78

@ -385,10 +385,7 @@ class AccountHistorySerializer(serializers.ModelSerializer):
class Meta: class Meta:
model = Account.history.model model = Account.history.model
fields = [ fields = ['id', 'secret', 'secret_type', 'version', 'history_date', 'history_user']
'id', 'secret', 'secret_type', 'version',
'history_date', 'history_user'
]
read_only_fields = fields read_only_fields = fields
extra_kwargs = { extra_kwargs = {
'history_user': {'label': _('User')}, 'history_user': {'label': _('User')},

Loading…
Cancel
Save