We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58ca25b commit e58493fCopy full SHA for e58493f
nmdc_server/api.py
@@ -1462,7 +1462,7 @@ async def generate_signed_upload_url(
1462
user: models.User = Depends(get_current_user),
1463
db: Session = Depends(get_db),
1464
):
1465
- # Don't accept files larger than 20MB
+ # Don't accept files larger than the configured limit (default is 25 MB)
1466
if body.file_size > settings.max_submission_image_file_size:
1467
raise HTTPException(
1468
status_code=status.HTTP_422_UNPROCESSABLE_ENTITY, detail="File size exceeds limit"
0 commit comments