diff --git a/backend/src/api/routes/translate/_run_routes.py b/backend/src/api/routes/translate/_run_routes.py index db1e720b..c005917a 100644 --- a/backend/src/api/routes/translate/_run_routes.py +++ b/backend/src/api/routes/translate/_run_routes.py @@ -27,7 +27,7 @@ from ._router import router # @PRE User has translate.job.execute permission. # @POST Returns the created translation run. @router.post("/jobs/{job_id}/run", status_code=status.HTTP_201_CREATED) -def run_translation( +async def run_translation( job_id: str, full_translation: bool = Query(False, description="Translate ALL rows (skip new-key-only filter)"), current_user: User = Depends(get_current_user),