Skip to content

Commit 33765d5

Browse files
add missing field
1 parent 6d14a2d commit 33765d5

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

services/web/server/src/simcore_service_webserver/director_v2/_director_v2_service.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ async def create_or_update_pipeline(
4848
user_id: UserID,
4949
project_id: ProjectID,
5050
product_name: ProductName,
51+
product_api_base_url: str,
5152
) -> DataType | None:
5253
# NOTE https://github.com/ITISFoundation/osparc-simcore/issues/7527
5354
settings: DirectorV2Settings = get_plugin_settings(app)
@@ -57,6 +58,7 @@ async def create_or_update_pipeline(
5758
"user_id": user_id,
5859
"project_id": f"{project_id}",
5960
"product_name": product_name,
61+
"product_api_base_url": product_api_base_url,
6062
"wallet_info": await get_wallet_info(
6163
app,
6264
product=products_service.get_product(app, product_name),

services/web/server/tests/unit/with_dbs/01/test_director_v2.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,16 @@ async def test_create_pipeline(
3232
user_id: UserID,
3333
project_id: ProjectID,
3434
osparc_product_name: str,
35+
osparc_product_api_base_url: str,
3536
):
3637
assert client.app
3738

3839
task_out = await director_v2_service.create_or_update_pipeline(
39-
client.app, user_id, project_id, osparc_product_name
40+
client.app,
41+
user_id,
42+
project_id,
43+
osparc_product_name,
44+
osparc_product_api_base_url,
4045
)
4146
assert task_out
4247
assert isinstance(task_out, dict)

0 commit comments

Comments
 (0)