Merge pull request #10874 from jumpserver/pr@dev@perf_accountsearch

perf: 账号搜索支持通过 secret_type 过滤
This commit is contained in:
老广
2023-06-30 15:22:14 +08:00
committed by GitHub

View File

@@ -45,7 +45,7 @@ class AccountFilterSet(BaseFilterSet):
class Meta:
model = Account
fields = ['id', 'asset_id', 'source_id']
fields = ['id', 'asset_id', 'source_id', 'secret_type']
class GatheredAccountFilterSet(BaseFilterSet):