Skip to content

Commit

Permalink
Invalid request params (#2542)
Browse files Browse the repository at this point in the history
### What's done:
 * Fixed invalid request params on frontend

Co-authored-by: Nariman Abdullin <[email protected]>
  • Loading branch information
sanyavertolet and nulls authored Sep 5, 2023
1 parent 61231dc commit 2d4c37b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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<dynamic> { this.isGenerateIdentifier = isGenerateIdentifier },
body = Json.encodeToString(vulnerability),
Expand Down

0 comments on commit 2d4c37b

Please sign in to comment.