Further improvements
This commit is contained in:
@@ -95,7 +95,7 @@ async def download_binary(
|
||||
raise HTTPException(status_code=404, detail="Binary not built yet for this melody")
|
||||
|
||||
melody = await service.get_built_melody(melody_id)
|
||||
filename = f"{melody.name}.bsm"
|
||||
filename = f"{melody.pid or melody.name}.bsm"
|
||||
|
||||
return FileResponse(
|
||||
path=str(path),
|
||||
|
||||
Reference in New Issue
Block a user