perf: 修改 ssh key with pass 报错 (#9917)

Co-authored-by: ibuler <ibuler@qq.com>
pull/9921/head
fit2bot 2023-03-10 16:04:48 +08:00 committed by GitHub
parent aeb2e47880
commit 3658ecce0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ class AssetAccountSerializer(
'is_active', 'version', 'secret_type',
]
fields_write_only = [
'secret', 'push_now', 'template'
'secret', 'passphrase', 'push_now', 'template'
]
fields = fields_mini + fields_write_only
extra_kwargs = {