ENCOA-274 and patch to the Dockerfile, in some merge the firebase tools were left out

This commit is contained in:
Carlos-Mesquita
2024-12-11 15:23:00 +00:00
parent 0222c339fe
commit 196f9e9c3e
9 changed files with 36 additions and 23 deletions

View File

@@ -15,5 +15,4 @@ class WritingController(IWritingController):
async def get_writing_task_academic_question(self, task: int, attachment: UploadFile, difficulty: str):
if attachment.content_type not in ['image/jpeg', 'image/png']:
raise HTTPException(status_code=400, detail="Invalid file type. Only JPEG and PNG allowed.")
return await self._service.get_writing_task_academic_question(task, attachment, difficulty)