We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3644d1e commit 4a1305cCopy full SHA for 4a1305c
packages/java-mongo/src/main/java/com/example/javamongo/StudentController.java
@@ -33,7 +33,7 @@ public Optional<Student> getStudentById(@PathVariable String id) {
33
}
34
35
@GetMapping("/a/{id}")
36
- public Optional<Student> getStudentById(@PathVariable String id) {
+ public Optional<Student> getStudentById1(@PathVariable String id) {
37
return studentRepository.findById(id);
38
39
0 commit comments