Skip to content

Commit e044518

Browse files
authored
fix(api): missing workflow context fields for audits (#5562)
Signed-off-by: richardlt <richard.le.terrier@gmail.com>
1 parent 5b2fe68 commit e044518

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sdk/workflow_node.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@ type NodeContext struct {
4444
ID int64 `json:"id" db:"id"`
4545
NodeID int64 `json:"node_id" db:"node_id"`
4646
PipelineID int64 `json:"pipeline_id" db:"pipeline_id"`
47-
PipelineName string `json:"-" db:"-"`
47+
PipelineName string `json:"pipeline_name" db:"-"`
4848
ApplicationID int64 `json:"application_id" db:"application_id"`
49-
ApplicationName string `json:"-" db:"-"`
49+
ApplicationName string `json:"application_name" db:"-"`
5050
EnvironmentID int64 `json:"environment_id" db:"environment_id"`
51-
EnvironmentName string `json:"-" db:"-"`
51+
EnvironmentName string `json:"environment_name" db:"-"`
5252
ProjectIntegrationID int64 `json:"project_integration_id" db:"project_integration_id"`
53-
ProjectIntegrationName string `json:"-" db:"-"`
53+
ProjectIntegrationName string `json:"project_integration_name" db:"-"`
5454
DefaultPayload interface{} `json:"default_payload,omitempty" db:"-"`
5555
DefaultPipelineParameters []Parameter `json:"default_pipeline_parameters" db:"-"`
5656
Conditions WorkflowNodeConditions `json:"conditions" db:"-"`

0 commit comments

Comments
 (0)