feat: report 수정
This commit is contained in:
parent
9ac747c1d1
commit
811a835d4f
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user