diff --git a/src/aeros_simulation/service.py b/src/aeros_simulation/service.py index 918a26a..7f467d4 100644 --- a/src/aeros_simulation/service.py +++ b/src/aeros_simulation/service.py @@ -37,7 +37,7 @@ active_simulations = {} async def call_ahm_callback_service(simulation_id: str, job_id: str): from src.config import AHM_BASE_URL, AHM_SIMULATION_CALLBACK_URL - url = f"{AHM_BASE_URL}{AHM_SIMULATION_CALLBACK_URL}" + url = f"{AHM_BASE_URL.rstrip('/')}/{AHM_SIMULATION_CALLBACK_URL.lstrip('/')}" payload = { "simulation_id": simulation_id, "job_id": job_id,