Skip to content

Commit

Permalink
fix show with reports
Browse files Browse the repository at this point in the history
  • Loading branch information
Noordsestern committed Nov 9, 2023
1 parent a3d81cb commit 1ee42c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion RobotFrameworkService/routers/robotframework.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,9 @@ async def start_robot_task_and_show_report(task: str, request: Request):
id = request.headers["request-id"]
variables = RequestHelper.parse_variables_from_query(request)
await run_robot_and_wait(
request.app.state.executor,
func=_start_specific_robot_task,
kwargs={"id": id, "task": task, "variables": variables},
args=[id, task, variables],
)
return RedirectResponse(f"/logs/{id}/report.html")

Expand Down

0 comments on commit 1ee42c2

Please sign in to comment.