Skip to content

Commit

Permalink
Make WorkflowStepExecuteEvent.EventTimestamp name consistent with the…
Browse files Browse the repository at this point in the history
… other events

The fields used to be called EventTS, but WorkflowStepExecuteEvent was
the only event struct with such a field.
  • Loading branch information
abustany committed Apr 8, 2022
1 parent 5dcc5fa commit 6c2b6c2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions slackevents/inner_events.go
Expand Up @@ -330,10 +330,10 @@ type EmojiChangedEvent struct {

// WorkflowStepExecuteEvent is fired, if a workflow step of your app is invoked
type WorkflowStepExecuteEvent struct {
Type string `json:"type"`
CallbackID string `json:"callback_id"`
WorkflowStep EventWorkflowStep `json:"workflow_step"`
EventTS string `json:"event_ts"`
Type string `json:"type"`
CallbackID string `json:"callback_id"`
WorkflowStep EventWorkflowStep `json:"workflow_step"`
EventTimestamp string `json:"event_ts"`
}

type EventWorkflowStep struct {
Expand Down

0 comments on commit 6c2b6c2

Please sign in to comment.