Skip to content

Commit

Permalink
fix(automate): include project id in run reporting (#356)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdriesler authored Nov 26, 2024
1 parent 281483f commit bd38dfa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/speckle_automate/automation_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,13 +206,15 @@ def report_run_status(self) -> None:
query = gql(
"""
mutation AutomateFunctionRunStatusReport(
$projectId: String!
$functionRunId: String!
$status: AutomateRunStatus!
$statusMessage: String
$results: JSONObject
$contextView: String
){
automateFunctionRunStatusReport(input: {
projectId: $projectId
functionRunId: $functionRunId
status: $status
statusMessage: $statusMessage
Expand All @@ -236,6 +238,7 @@ def report_run_status(self) -> None:
object_results = None

params = {
"projectId": self.automation_run_data.project_id,
"functionRunId": self.automation_run_data.function_run_id,
"status": self.run_status.value,
"statusMessage": self._automation_result.status_message,
Expand Down

0 comments on commit bd38dfa

Please sign in to comment.