Skip to content

Commit e8f71c4

Browse files
authored
Add webhook fields (#18)
Signed-off-by: Raphaël Pinson <[email protected]>
1 parent 070989d commit e8f71c4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

instruqt/webhook.go

+2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ type WebhookEvent struct {
1717
TrackId string `json:"track_id"` // ID of the track related to the event
1818
TrackSlug string `json:"track_slug"` // Slug identifier for the track
1919
ParticipantId string `json:"participant_id"` // ID of the participant
20+
IsDeveloperPlay bool `json:"is_developer_play"` // Whether it is a developer or normal play
21+
Pooled bool `json:"pooled"` // Whether the track was pooled
2022
UserId string `json:"user_id"` // ID of the user who triggered the event
2123
InviteId string `json:"invite_id"` // ID of the invite associated with the event
2224
ClaimId string `json:"claim_id"` // Claim ID associated with the event

0 commit comments

Comments
 (0)