fix: 【账号改密】任务列表-详情:获取任务记录tab报错

pull/13044/head
feng 2024-04-17 11:23:26 +08:00 committed by Eric_Lee
parent 3cf526fdf3
commit bfbddfdead
1 changed files with 1 additions and 0 deletions

View File

@ -66,6 +66,7 @@ class GatheredAccountFilterSet(BaseFilterSet):
class ChangeSecretRecordFilterSet(BaseFilterSet):
asset_name = drf_filters.CharFilter(field_name='asset__name', lookup_expr='icontains')
account_username = drf_filters.CharFilter(field_name='account__username', lookup_expr='icontains')
execution_id = drf_filters.CharFilter(field_name='execution_id', lookup_expr='exact')
class Meta:
model = ChangeSecretRecord