diff --git a/src/main/java/cz/cvut/kbss/termit/rest/TermController.java b/src/main/java/cz/cvut/kbss/termit/rest/TermController.java index bfe1f12f0..4331d6145 100644 --- a/src/main/java/cz/cvut/kbss/termit/rest/TermController.java +++ b/src/main/java/cz/cvut/kbss/termit/rest/TermController.java @@ -545,7 +545,7 @@ public List getAllRoots(@RequestParam(name = Constants.QueryParams.PAGE */ @GetMapping(value = "/terms", produces = {MediaType.APPLICATION_JSON_VALUE, JsonLd.MEDIA_TYPE}) - public List getAll(@RequestParam(required = false) String searchString) { + public List getAll(@RequestParam String searchString) { return termService.findAll(searchString); } }