diff --git a/src/main/java/uk/ac/ebi/eva/evaseqcol/controller/admin/AdminController.java b/src/main/java/uk/ac/ebi/eva/evaseqcol/controller/admin/AdminController.java index ee2abd2..84e3622 100644 --- a/src/main/java/uk/ac/ebi/eva/evaseqcol/controller/admin/AdminController.java +++ b/src/main/java/uk/ac/ebi/eva/evaseqcol/controller/admin/AdminController.java @@ -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.fetchAndInsertAllSeqColInFastaFile(insdcAccession, fastFileContent); + IngestionResultEntity ingestionResult = seqColService.fetchAndInsertAllSeqColInFastFile(insdcAccession, fastFileContent); return new ResponseEntity<>(ingestionResult, HttpStatus.CREATED); } catch (IOException e) { e.printStackTrace();