Commit 1229cb4c authored by Shanelle Valencia's avatar Shanelle Valencia

Fix error issue

parent a413810f
...@@ -74,7 +74,6 @@ public class StudentMarksController { ...@@ -74,7 +74,6 @@ public class StudentMarksController {
@PutMapping("/studentMarks/update/{emailAddress}") @PutMapping("/studentMarks/update/{emailAddress}")
public ResponseEntity<StudentMarks> updateStudentMarks(@PathVariable (value= "emailAddress") String emailAddressId) throws ConfigDataResourceNotFoundException { public ResponseEntity<StudentMarks> updateStudentMarks(@PathVariable (value= "emailAddress") String emailAddressId) throws ConfigDataResourceNotFoundException {
StudentMarks studentMarks = studentService.getStudentById(emailAddressId) StudentMarks studentMarks = studentService.getStudentById(emailAddressId)
// .(() -> new ConfigDataResourceNotFoundException);
final StudentMarks updatedStudentMarks = studentService.editStudentMarks(studentMarks); final StudentMarks updatedStudentMarks = studentService.editStudentMarks(studentMarks);
return ResponseEntity.ok(updatedStudentMarks); return ResponseEntity.ok(updatedStudentMarks);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment