fix upload name
This commit is contained in:
@@ -44,7 +44,7 @@ async def upload_call_audio(
|
||||
if not data:
|
||||
raise HTTPException(400, "Empty file.")
|
||||
|
||||
filename = f"{call_id}_{file.filename}"
|
||||
filename = file.filename
|
||||
audio_url = await upload_audio(data, filename)
|
||||
|
||||
if audio_url:
|
||||
|
||||
Reference in New Issue
Block a user