diff --git a/src/wordcab_transcribe/router/v1/audio_url_endpoint.py b/src/wordcab_transcribe/router/v1/audio_url_endpoint.py index 571d602..ef6f0aa 100644 --- a/src/wordcab_transcribe/router/v1/audio_url_endpoint.py +++ b/src/wordcab_transcribe/router/v1/audio_url_endpoint.py @@ -154,7 +154,6 @@ async def process_audio(): ) background_tasks.add_task(delete_file, filepath=filepath) - await send_update_with_svix( data.job_name, "finished", diff --git a/src/wordcab_transcribe/router/v1/cortex_endpoint.py b/src/wordcab_transcribe/router/v1/cortex_endpoint.py index c6d3713..129fafa 100644 --- a/src/wordcab_transcribe/router/v1/cortex_endpoint.py +++ b/src/wordcab_transcribe/router/v1/cortex_endpoint.py @@ -137,7 +137,7 @@ async def run_cortex( return CortexError(message=error_message) _cortex_response = { - **response.model_dump(), + **response, "job_name": payload.job_name, "request_id": request_id, }