From 6c2b6c2bb7ff711b7a6a15257621abd7147fdcf9 Mon Sep 17 00:00:00 2001 From: Adrien Bustany Date: Fri, 8 Apr 2022 15:12:02 +0200 Subject: [PATCH] Make WorkflowStepExecuteEvent.EventTimestamp name consistent with the other events The fields used to be called EventTS, but WorkflowStepExecuteEvent was the only event struct with such a field. --- slackevents/inner_events.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/slackevents/inner_events.go b/slackevents/inner_events.go index ec05f960e..ed5ab6aa0 100644 --- a/slackevents/inner_events.go +++ b/slackevents/inner_events.go @@ -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 {