mirror of
https://github.com/passbolt/go-passbolt.git
synced 2025-05-10 01:48:22 +00:00
add missing nil
This commit is contained in:
parent
9bceb71ed2
commit
940828965a
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ func CreateFolder(ctx context.Context, c *api.Client, folderParentID, name strin
|
||||||
|
|
||||||
// GetFolder Gets a Folder
|
// GetFolder Gets a Folder
|
||||||
func GetFolder(ctx context.Context, c *api.Client, folderID string) (string, string, error) {
|
func GetFolder(ctx context.Context, c *api.Client, folderID string) (string, string, error) {
|
||||||
f, err := c.GetFolder(ctx, folderID)
|
f, err := c.GetFolder(ctx, folderID, nil)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return "", "", fmt.Errorf("Getting Folder: %w", err)
|
return "", "", fmt.Errorf("Getting Folder: %w", err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue