From 2d4c37be05308df4e5cfe0f870b151e73d7c24a2 Mon Sep 17 00:00:00 2001 From: Alexander Frolov Date: Tue, 5 Sep 2023 14:16:22 +0400 Subject: [PATCH] Invalid request params (#2542) ### What's done: * Fixed invalid request params on frontend Co-authored-by: Nariman Abdullin --- .../frontend/components/views/vuln/CreateVulnerabilityView.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/save-frontend/src/main/kotlin/com/saveourtool/save/frontend/components/views/vuln/CreateVulnerabilityView.kt b/save-frontend/src/main/kotlin/com/saveourtool/save/frontend/components/views/vuln/CreateVulnerabilityView.kt index 0161a0f82b..cb47952fe0 100644 --- a/save-frontend/src/main/kotlin/com/saveourtool/save/frontend/components/views/vuln/CreateVulnerabilityView.kt +++ b/save-frontend/src/main/kotlin/com/saveourtool/save/frontend/components/views/vuln/CreateVulnerabilityView.kt @@ -83,7 +83,7 @@ val createVulnerabilityView: VFC = VFC { val enrollRequest = useDeferredRequest { val response = post( - url = "$apiUrl/vulnerabilities/save?isGenerateIdentifier=$isGenerateIdentifier", + url = "$apiUrl/vulnerabilities/save", headers = jsonHeaders, params = jso { this.isGenerateIdentifier = isGenerateIdentifier }, body = Json.encodeToString(vulnerability),