Commit ab740ed
authored
fix(dashboard): correct webhook example payload to match v2 schema (#324)
## Summary
- Updated the webhook example payload shown in the webhook add/edit
dialog to match the actual payload emitted by the backend.
- Bumped the version to `v2`, switched all field names to snake_case,
removed the non-existent `eventData` field, and added the new
`event_category` and `event_label` fields.
## Test plan
- [ ] Open the dashboard webhook settings, start adding a webhook, and
verify the example payload matches a real delivery.1 parent 5fa0e6c commit ab740ed
1 file changed
Lines changed: 10 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | 12 | | |
| 13 | + | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | | - | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
0 commit comments