Skip to content

Commit

Permalink
fix(automate): submit project id with run status (#3660)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdriesler authored Nov 28, 2024
1 parent e2a593a commit 743eea1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Automate/Speckle.Automate.Sdk/AutomationContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -237,13 +237,15 @@ public async Task ReportRunStatus()
Query =
@"
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 @@ -254,6 +256,7 @@ mutation AutomateFunctionRunStatusReport(
",
Variables = new
{
projectId = AutomationRunData.ProjectId,
functionRunId = AutomationRunData.FunctionRunId,
status = RunStatus,
statusMessage = AutomationResult.StatusMessage,
Expand Down

0 comments on commit 743eea1

Please sign in to comment.