Merge branch 'BE/userinfo' into 'backend'
feat: report 수정 See merge request s11-webmobile1-sub2/S11P12A701!132
This commit is contained in:
commit
ad58cb1bff
@ -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