Merge branch 'be/quiz' into 'backend'
feat: quiz 실시된 기록이 있는 퀴즈 수정 제한 See merge request s11-webmobile1-sub2/S11P12A701!109
This commit is contained in:
commit
7f20b2f1ae
Binary file not shown.
Before Width: | Height: | Size: 18 KiB |
Binary file not shown.
Before Width: | Height: | Size: 18 KiB |
@ -73,6 +73,10 @@ public class QuizController {
|
||||
return new ResponseEntity<>(HttpStatus.UNAUTHORIZED);
|
||||
}
|
||||
|
||||
if (quizset.isTested()) {
|
||||
return new ResponseEntity<>(HttpStatus.CONFLICT);
|
||||
}
|
||||
|
||||
quizSetService.updateQuizSet(quizSetUpdateRequest.getId(), quizSetUpdateRequest.getTitle());
|
||||
|
||||
Map<Long, Boolean> quizUpdatedCheckMap = new HashMap<>();
|
||||
|
Loading…
Reference in New Issue
Block a user