Skip to content

Commit

Permalink
Update AdminController.java
Browse files Browse the repository at this point in the history
  • Loading branch information
waterflow80 authored Feb 21, 2024
1 parent 8206af0 commit a654cfa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public ResponseEntity<?> fetchAndInsertSeqColByAssemblyAccession(
@PutMapping(value = "/seqcols/fasta/{insdcAccession}")
public ResponseEntity<?> fetchAndInsertSeqColByParsingFastFile(@PathVariable(value = "insdcAccession") String insdcAccession, @RequestBody String fastFileContent) {
try {
IngestionResultEntity ingestionResult = seqColService.fetchAndInsertAllSeqColInFastFile(insdcAccession, fastFileContent);
IngestionResultEntity ingestionResult = seqColService.fetchAndInsertAllSeqColInFastaFile(insdcAccession, fastFileContent);
return new ResponseEntity<>(ingestionResult, HttpStatus.CREATED);
} catch (IOException e) {
e.printStackTrace();
Expand Down

0 comments on commit a654cfa

Please sign in to comment.