(version, webhookCategory)
| 54 | // `check_run`) -- this includes all the data per webhook action type and all |
| 55 | // nested parameters |
| 56 | export async function getWebhook(version, webhookCategory) { |
| 57 | const webhooks = await getWebhooks(version) |
| 58 | return webhooks[webhookCategory] |
| 59 | } |
| 60 | |
| 61 | // returns all the webhook data for the given version |
| 62 | export async function getWebhooks(version) { |
no test coverage detected