Skip to content

Commit

Permalink
Adding missing ID field.
Browse files Browse the repository at this point in the history
  • Loading branch information
lleadbet committed Aug 13, 2021
1 parent 4bf9b3a commit 72c7d87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions internal/events/types/hype_train/hype_train_event.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ func (e Event) GenerateEvent(params events.MockEventParameters) (events.MockEven
CreatedAt: util.GetTimestamp().Format(time.RFC3339Nano),
},
Event: models.HypeTrainEventSubEvent{
ID: params.ID,
BroadcasterUserID: params.ToUserID,
BroadcasterUserLogin: params.ToUserName,
BroadcasterUserName: params.ToUserName,
Expand Down
1 change: 1 addition & 0 deletions internal/models/hype_train.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ type HypeTrainEventSubResponse struct {
}

type HypeTrainEventSubEvent struct {
ID string `json:"id"`
BroadcasterUserID string `json:"broadcaster_user_id"`
BroadcasterUserLogin string `json:"broadcaster_user_login"`
BroadcasterUserName string `json:"broadcaster_user_name"`
Expand Down

0 comments on commit 72c7d87

Please sign in to comment.