Skip to content

Commit

Permalink
Merge pull request #8 from blagerweij/bugfix/fix-sbom-upload-project-…
Browse files Browse the repository at this point in the history
…param

bugfix: fixed http parameter name, should be project
  • Loading branch information
nvima authored Nov 28, 2023
2 parents b2b28bf + e690225 commit 66b39c3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class DependencyTrack(apiKey: String, private val baseUrl: String) {
val res = client.uploadFileWithFormData(url, file, "bom") {
append("autoCreate", autoCreate)
projectUUID?.let {
append("projectUUID", it)
append("project", it)
}
projectName?.let {
append("projectName", it)
Expand Down

0 comments on commit 66b39c3

Please sign in to comment.