mirror of
https://github.com/passbolt/go-passbolt.git
synced 2025-09-13 14:29:09 +00:00
Compare commits
No commits in common. "cfd205f1bf07f017d1f0ad3afdb68cd2b9505a33" and "7c15f80c7e96b36f250f87667cb24f0cc78e194a" have entirely different histories.
cfd205f1bf
...
7c15f80c7e
1 changed files with 1 additions and 3 deletions
|
@ -32,9 +32,7 @@ func GetMetadataKey(ctx context.Context, c *api.Client, personal bool) (string,
|
||||||
return me.GPGKey.ID, api.MetadataKeyTypeUserKey, key, nil
|
return me.GPGKey.ID, api.MetadataKeyTypeUserKey, key, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
keys, err := c.GetMetadataKeys(ctx, &api.GetMetadataKeysOptions{
|
keys, err := c.GetMetadataKeys(ctx, nil)
|
||||||
ContainMetadataPrivateKeys: true,
|
|
||||||
})
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return "", "", nil, fmt.Errorf("Get Metadata Key: %w", err)
|
return "", "", nil, fmt.Errorf("Get Metadata Key: %w", err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue