fix: filter custom assets in secret type check

pull/14663/head
wangruidong 2024-12-16 17:22:18 +08:00 committed by Bryan
parent f9e6fc98fb
commit 8a8a7f9947
1 changed files with 1 additions and 1 deletions

View File

@ -385,7 +385,7 @@ class AssetAccountBulkSerializer(
_results = {}
for asset in assets:
if asset not in secret_type_supports:
if asset not in secret_type_supports and asset.category != Category.CUSTOM:
_results[asset] = {
'error': _('Asset does not support this secret type: %s') % secret_type,
'state': 'error',