Skip to content
Snippets Groups Projects
Verified Commit 6e06a9aa authored by Martin Weise's avatar Martin Weise
Browse files
parent 4b55f428
No related branches found
No related tags found
2 merge requests!422Fixed a library issue where the value could not be empty,!421Fixed a library issue where the value could not be empty
......@@ -328,7 +328,7 @@ public class IdentifierEndpoint extends AbstractEndpoint {
throws SearchServiceException, DatabaseNotFoundException, SearchServiceConnectionException,
MalformedException, DataServiceConnectionException, IdentifierNotFoundException, ExternalServiceException {
log.debug("endpoint publish identifier, identifierId={}", identifierId);
return ResponseEntity.status(HttpStatus.CREATED)
return ResponseEntity.accepted()
.body(metadataMapper.identifierToIdentifierDto(
identifierService.publish(identifierService.find(identifierId))));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment