fix: fix conflicts

pull/10196/head
Bai 2023-04-13 19:19:20 +08:00 committed by Jiangjie.Bai
parent 928513edd0
commit 21da805e78
1 changed files with 1 additions and 4 deletions

View File

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