Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
tcezard committed Jun 27, 2024
1 parent 29a4386 commit 21d0604
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public SubmissionAccount getSubmissionAccount(String bearerToken) {
}

public List<Submission> stripUserDetails(List<Submission> submissions){
return submission.stream().map(this::stripUserDetails).collect(Collectors.toList());
return submissions.stream().map(this::stripUserDetails).collect(Collectors.toList());
}

public Submission stripUserDetails(Submission submission) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import uk.ac.ebi.eva.submission.service.SubmissionService;
import uk.ac.ebi.eva.submission.service.WebinTokenService;

import java.util.ArrayList;
import java.util.List;

@RestController
@RequestMapping("/v1/admin")
Expand Down Expand Up @@ -82,7 +82,6 @@ public ResponseEntity<?> markSubmissionProcessStepAndStatus(@PathVariable("submi
return new ResponseEntity<>(submissionProc, HttpStatus.OK);
}


@Operation(summary = "This endpoint retrieves all the submissions from the database with given step and status")
@Parameters({
@Parameter(name="step", description = "The processing step of the submission.",
Expand Down

0 comments on commit 21d0604

Please sign in to comment.