diff --git a/app/api/api_v2/endpoints/upload.py b/app/api/api_v2/endpoints/upload.py index be94bc9..296285b 100644 --- a/app/api/api_v2/endpoints/upload.py +++ b/app/api/api_v2/endpoints/upload.py @@ -36,7 +36,7 @@ async def upload_video(boto_session: AioBaseClient, path: str, temp_video_name: async def upload_file( file: UploadFile = File(..., description='File to upload'), file_name: Optional[str] = Form( - default=None, alias='fileName', example='my_file.mp4', regex=r'^[\s\w\d_-]*$', min_length=2, max_length=40 + default=None, example='my_file.mp4', regex=r'^[\s\w\d_-]*$', min_length=2, max_length=40 ), boto_session: AioBaseClient = Depends(get_boto), user: User = Depends(cognito_signed_in),