Skip to content

Commit 1f3b810

Browse files
committed
Fix download url
1 parent 3d3be4c commit 1f3b810

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "CDMServer"
3-
version = "0.26.1"
3+
version = "0.26.2"
44
description = "A short description of your project"
55
authors = [{name = "Aron Radics", email = "radics.aron.jozsef@gmail.com"}]
66
requires-python = ">=3.13"

service/api/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ async def get_order(session: AsyncSession = Depends(get_session), x_api_key: str
2323
return JSONResponse({"data": {"files": {key: value["downloading_path"] for key, value in files.items()}}})
2424

2525

26-
@router.get("/download/{file_id}")
26+
@router.get("/download/{file_id}/")
2727
async def download_file(
2828
session: AsyncSession = Depends(get_session), x_api_key: str = Header(None), file_id: str = None
2929
):

0 commit comments

Comments
 (0)