Fix #18: Add comment explaining token query param in download_project_file
Some checks failed
Deploy Tracker / deploy (push) Failing after 4s

This commit is contained in:
markov 2026-02-26 15:16:50 +01:00
parent b6f12c2a56
commit 73c4ace9e9

View File

@ -193,7 +193,7 @@ async def get_project_file(
async def download_project_file( async def download_project_file(
slug: str, slug: str,
file_id: str, file_id: str,
token: Optional[str] = Query(None), token: Optional[str] = Query(None), # Auth handled by middleware (query param for img src)
db: AsyncSession = Depends(get_db), db: AsyncSession = Depends(get_db),
): ):
project = await _get_project(slug, db) project = await _get_project(slug, db)