Skip to content

Commit

Permalink
fix: no slash
Browse files Browse the repository at this point in the history
  • Loading branch information
GtanSndil committed Jul 2, 2024
1 parent 31a2d46 commit b61acd8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public CodeListsResources(CodeListService codeListService) {
}

@PreAuthorize("isAdmin() || isCodesListContributor(#body)")
@PostMapping(value = "/", consumes = MediaType.APPLICATION_JSON_VALUE)
@PostMapping(value = "", consumes = MediaType.APPLICATION_JSON_VALUE)
@Operation(operationId = "setCodesList", summary = "Create a code list")
public ResponseEntity<Object> setCodesList(@Parameter(description = "Code List", required = true) @RequestBody String body) {
try {
Expand Down

0 comments on commit b61acd8

Please sign in to comment.