Fix #18: Add comment explaining token query param in download_project_file
Some checks failed
Deploy Tracker / deploy (push) Failing after 4s
Some checks failed
Deploy Tracker / deploy (push) Failing after 4s
This commit is contained in:
parent
b6f12c2a56
commit
73c4ace9e9
@ -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)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user