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

Co-authored-by: ibuler <ibuler@qq.com>
This commit is contained in:
fit2bot
2023-03-10 16:05:11 +08:00
committed by GitHub
parent c88645fa57
commit bbe03ddb73

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 = {