Skip to content
This repository was archived by the owner on Feb 16, 2023. It is now read-only.

Commit cd7d62a

Browse files
committed
Change vaultsJSON struct for CLI v2
The new JSON format has the vault's ID under "id" instead of "uuid".
1 parent 0a6feda commit cd7d62a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internals/onepassword/cli_v2.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ func (op *OPV2CLI) ExistsVault(vaultName string) (bool, error) {
9191
}
9292

9393
vaultsJSON := make([]struct {
94-
UUID string `json:"uuid"`
94+
ID string `json:"id"`
9595
Name string `json:"name"`
9696
}, 0)
9797

0 commit comments

Comments
 (0)