Skip to content

Commit

Permalink
[R-#1573] PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
psiotwo committed May 13, 2021
1 parent 28326b8 commit cb420bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/cz/cvut/kbss/termit/rest/TermController.java
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ public List<TermDto> getAllRoots(@RequestParam(name = Constants.QueryParams.PAGE
*/
@GetMapping(value = "/terms",
produces = {MediaType.APPLICATION_JSON_VALUE, JsonLd.MEDIA_TYPE})
public List<TermDto> getAll(@RequestParam(required = false) String searchString) {
public List<TermDto> getAll(@RequestParam String searchString) {
return termService.findAll(searchString);
}
}

0 comments on commit cb420bf

Please sign in to comment.