ENCOA-274 and patch to the Dockerfile, in some merge the firebase tools were left out
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user