mirror of
https://github.com/jumpserver/jumpserver.git
synced 2026-01-29 21:51:31 +00:00
perf: account history record only secret
This commit is contained in:
@@ -10,7 +10,7 @@ __all__ = ['AccountHistoryViewSet', 'AccountHistorySecretsViewSet']
|
||||
class AccountHistoryFilterSet(AccountFilterSet):
|
||||
class Meta:
|
||||
model = Account.history.model
|
||||
fields = AccountFilterSet.Meta.fields
|
||||
fields = ['id', 'secret_type']
|
||||
|
||||
|
||||
class AccountHistoryViewSet(AccountViewSet):
|
||||
|
||||
Reference in New Issue
Block a user