Skip to content

Commit

Permalink
update delete assembly
Browse files Browse the repository at this point in the history
  • Loading branch information
nitin-ebi committed Feb 19, 2024
1 parent 6dfdb12 commit 9eee9ce
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,8 @@ public ResponseEntity<String> deleteAssemblyByAccession(
HttpStatus.INTERNAL_SERVER_ERROR);
}
} else {
return ResponseEntity.ok("Could not find the requested assembly.");
return new ResponseEntity<>("The requested assembly for deletion could not be found",
HttpStatus.NOT_FOUND);
}
}

Expand Down

0 comments on commit 9eee9ce

Please sign in to comment.