diff --git a/backend/src/main/java/com/edufocus/edufocus/report/controller/ReportController.java b/backend/src/main/java/com/edufocus/edufocus/report/controller/ReportController.java index 7edb3b3..afddfe3 100644 --- a/backend/src/main/java/com/edufocus/edufocus/report/controller/ReportController.java +++ b/backend/src/main/java/com/edufocus/edufocus/report/controller/ReportController.java @@ -29,7 +29,7 @@ public class ReportController { @PostMapping("/submit/quizSet/{reportSetId}") public ResponseEntity submit(@PathVariable("reportSetId") UUID reportSetId, @RequestBody ReportRequest reportRequest, HttpServletRequest request) { - String token = request.getHeader("Authoriza]tion"); + String token = request.getHeader("Authorization"); long userId = Long.parseLong(jwtUtil.getUserId(token)); if (userService.isTeacher(userId))