diff --git a/ielts_be/controllers/impl/grade.py b/ielts_be/controllers/impl/grade.py index 5493ed8..f4c70b6 100644 --- a/ielts_be/controllers/impl/grade.py +++ b/ielts_be/controllers/impl/grade.py @@ -25,9 +25,6 @@ class GradeController(IGradeController): self, task: int, dto: WritingGradeTaskDTO, background_tasks: BackgroundTasks ): - if task == 1 and dto.attachment is None: - raise HTTPException(status_code=400, detail="Academic writing task requires a picture!") - await self._evaluation_service.create_evaluation( dto.userId, dto.sessionId, dto.exerciseId, EvaluationType.WRITING, task )