Skip to content

Commit

Permalink
do not embed type
Browse files Browse the repository at this point in the history
  • Loading branch information
Phani Raj committed Aug 13, 2021
1 parent cf02289 commit 16b7b15
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions internal/cmd/passwords/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,10 @@ func DeleteCmd(ch *cmdutil.Helper) *cobra.Command {
defer end()

err = client.Passwords.Delete(ctx, &ps.DeleteDatabaseBranchPasswordRequest{
DatabaseBranchPasswordRequest: ps.DatabaseBranchPasswordRequest{
Organization: ch.Config.Organization,
Database: database,
Branch: branch,
},
PasswordId: password,
Organization: ch.Config.Organization,
Database: database,
Branch: branch,
PasswordId: password,
})
if err != nil {
switch cmdutil.ErrCode(err) {
Expand Down

0 comments on commit 16b7b15

Please sign in to comment.