mirror of
https://github.com/passbolt/go-passbolt.git
synced 2025-09-13 14:29:09 +00:00
Allow Pinning / Trusting Metadatakeys, Handle new Keys
This commit is contained in:
parent
7d6d1c614c
commit
3cd88d7553
7 changed files with 207 additions and 140 deletions
|
@ -21,7 +21,7 @@ func GetResourceMetadata(ctx context.Context, c *api.Client, resource *api.Resou
|
|||
}
|
||||
metadatakey = tmp
|
||||
} else {
|
||||
key, err := GetMetadataKeyById(ctx, c, resource.MetadataKeyID)
|
||||
key, err := c.GetMetadataKeyById(ctx, resource.MetadataKeyID)
|
||||
if err != nil {
|
||||
return "", fmt.Errorf("Get Metadata Key by ID: %w", err)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue