From e690225f76b17bfeb975fce881d6f8b0c7106671 Mon Sep 17 00:00:00 2001 From: Barry Lagerweij Date: Mon, 27 Nov 2023 16:12:05 +0100 Subject: [PATCH] bugfix: fixed http parameter name, should be project --- src/main/kotlin/com/liftric/dtcp/service/DependencyTrack.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/com/liftric/dtcp/service/DependencyTrack.kt b/src/main/kotlin/com/liftric/dtcp/service/DependencyTrack.kt index 33c226a..cc151e5 100644 --- a/src/main/kotlin/com/liftric/dtcp/service/DependencyTrack.kt +++ b/src/main/kotlin/com/liftric/dtcp/service/DependencyTrack.kt @@ -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)