fix: 改密记录搜索失败 (#12098)

Co-authored-by: feng <1304903146@qq.com>
This commit is contained in:
fit2bot
2023-11-14 12:48:02 +08:00
committed by GitHub
parent 5f121934a7
commit fcce03f7bd
2 changed files with 2 additions and 10 deletions

View File

@@ -5,7 +5,7 @@ from django_filters import rest_framework as drf_filters
from assets.models import Node
from common.drf.filters import BaseFilterSet
from .models import Account, GatheredAccount, ChangeSecretRecord
from .models import Account, GatheredAccount
class AccountFilterSet(BaseFilterSet):
@@ -59,10 +59,3 @@ class GatheredAccountFilterSet(BaseFilterSet):
class Meta:
model = GatheredAccount
fields = ['id', 'asset_id', 'username']
class ChangeSecretRecordFilterSet(BaseFilterSet):
class Meta:
model = ChangeSecretRecord
fields = ['asset_id', 'execution_id']