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

@@ -28,7 +28,7 @@ async def get_qr(
account_id: str = Path(min_length=11, max_length=22),
regen: bool = False,
qr_type: str = Query(None, min_length=1, max_length=10),
filename: str = Query(None, min_length=4, max_length=100),
filename: str = Query(None, min_length=4, max_length=255),
n: str = Query('', max_length=100),
fn: str = Query('', max_length=100),