Skip to content

Commit 68eaa5c

Browse files
URL updated
1 parent 3e3cb4b commit 68eaa5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/abdullah/todomanagement/controller/TutorialController.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public Tutorial saveTutorials(@RequestBody Tutorial tutorial) {
6565
return tutorialRepository.save(tutorial);
6666
}
6767

68-
@RequestMapping(value = "/tutorials", method = RequestMethod.POST)
68+
@RequestMapping(value = "/tutorials/search", method = RequestMethod.GET)
6969
public List<Tutorial> findByTitle(@RequestParam String title) {
7070
return tutorialRepository.findByTitleIsLike(title);
7171
}

0 commit comments

Comments
 (0)