fix(be): deserialize secret of inventory

This commit is contained in:
fiftin 2024-06-21 23:46:35 +05:00
parent ce21ea82bc
commit dabc8ebf71
No known key found for this signature in database
GPG Key ID: 044381366A5D4731

View File

@ -74,6 +74,12 @@ func FillInventory(d Store, inventory *Inventory) (err error) {
if err != nil {
return
}
err = repo.SSHKey.DeserializeSecret()
if err != nil {
return
}
inventory.Repository = &repo
}