feat: report 수정

This commit is contained in:
박정민 2024-08-09 12:41:24 +09:00
parent 9ac747c1d1
commit 811a835d4f

View File

@ -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))