Skip to content

Commit

Permalink
delete latest header read
Browse files Browse the repository at this point in the history
  • Loading branch information
fredmaggiowski committed Nov 19, 2024
1 parent 11ab706 commit 534f83d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/cmd/marketplace/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ func deleteItemByItemIDAndVersion(ctx context.Context, client *client.APIClient,
return err
}

asd := resp.Header().Get("X-Marketplace-Item-Latest-Version:")
fmt.Printf("\nasd %s\n", asd)
latestVersion := resp.Header().Get("X-Marketplace-Item-Latest-Version")
fmt.Printf("\nasd %s\n", latestVersion)
return nil
}

Expand Down

0 comments on commit 534f83d

Please sign in to comment.