Skip to content

Commit

Permalink
Change Delete on record/tags so that it returns OK 200.
Browse files Browse the repository at this point in the history
  • Loading branch information
ianwallen committed Jan 3, 2024
1 parent 1643bde commit d3a041f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -389,9 +389,9 @@ public MetadataProcessingReport tagRecords(
produces = {
MediaType.APPLICATION_JSON_VALUE
})
@ResponseStatus(value = HttpStatus.NO_CONTENT)
@ResponseStatus(value = HttpStatus.OK)
@ApiResponses(value = {
@ApiResponse(responseCode = "204", description = "Tag Deleted."),
@ApiResponse(responseCode = "200", description = "Tag Deleted."),
@ApiResponse(responseCode = "403", description = ApiParams.API_RESPONSE_NOT_ALLOWED_ONLY_EDITOR)
})
@PreAuthorize("hasAuthority('Editor')")
Expand Down

0 comments on commit d3a041f

Please sign in to comment.