mirror of
https://github.com/passbolt/go-passbolt.git
synced 2025-09-13 14:29:09 +00:00
Compare commits
2 commits
7c15f80c7e
...
cfd205f1bf
Author | SHA1 | Date | |
---|---|---|---|
cfd205f1bf | |||
0c5a7aafc7 |
1 changed files with 3 additions and 1 deletions
|
@ -32,7 +32,9 @@ 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, nil)
|
keys, err := c.GetMetadataKeys(ctx, &api.GetMetadataKeysOptions{
|
||||||
|
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