Increased the maximum filename limit to 255. No consistent with the DB and standards.

This commit is contained in:
Scott Idem
2024-05-22 15:54:47 -04:00
parent a8aa6bf950
commit 6c5b120526
3 changed files with 6 additions and 6 deletions

View File

@@ -239,7 +239,7 @@ async def event_file_lookup(
@router.get('/event/file/{event_file_id}/download', response_model=Resp_Body_Base)
async def download_event_file(
event_file_id: str = Path(min_length=11, max_length=22),
filename: str = Query(None, min_length=4, max_length=100),
filename: str = Query(None, min_length=4, max_length=255),
streaming: bool = False,
commons: Common_Route_Params = Depends(common_route_params),