Skip to content

Commit

Permalink
Fix projects delete regression
Browse files Browse the repository at this point in the history
Introduced in #354. Other similar issues were fixed in #366.
  • Loading branch information
Robert Harris authored and rgharris committed May 8, 2023
1 parent 8a47bbb commit c63a255
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/http/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ func DeleteProject(host string, verifyTLS bool, apiKey string, project string) E
var params []queryParam
params = append(params, queryParam{Key: "project", Value: project})

url, err := generateURL(host, "/v3/projects/project", nil)
url, err := generateURL(host, "/v3/projects/project", params)
if err != nil {
return Error{Err: err, Message: "Unable to generate url"}
}
Expand Down

0 comments on commit c63a255

Please sign in to comment.