Skip to content

Commit 983ead6

Browse files
committed
minor fix
1 parent d07fb51 commit 983ead6

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

services/api-server/src/simcore_service_api_server/api/routes/functions_routes.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -470,9 +470,8 @@ async def run_function( # noqa: PLR0913
470470
request=request,
471471
study_id=to_run_function.project_id,
472472
job_id=study_job.id,
473-
user_id=user_id,
474473
webserver_api=webserver_api,
475-
director2_api=director2_api,
474+
job_service=job_service,
476475
)
477476
return await register_function_job(
478477
wb_api_rpc=wb_api_rpc,

services/api-server/src/simcore_service_api_server/api/routes/studies_jobs.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,9 +212,7 @@ async def start_study_job(
212212
request: Request,
213213
study_id: StudyID,
214214
job_id: JobID,
215-
user_id: Annotated[PositiveInt, Depends(get_current_user_id)],
216215
webserver_api: Annotated[AuthSession, Depends(get_webserver_session)],
217-
director2_api: Annotated[DirectorV2Api, Depends(get_api_client(DirectorV2Api))],
218216
job_service: Annotated[JobService, Depends(get_job_service)],
219217
cluster_id: Annotated[ # pylint: disable=unused-argument # noqa: ARG001
220218
ClusterID | None,

0 commit comments

Comments
 (0)