From 811a835d4f966598c1659ed14a2572d30eb62229 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=B0=95=EC=A0=95=EB=AF=BC?= Date: Fri, 9 Aug 2024 12:41:24 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20report=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../edufocus/edufocus/report/controller/ReportController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))