MCPcopy Index your code
hub / github.com/github/docs / getWebhook

Function getWebhook

src/webhooks/lib/index.js:56–59  ·  view source on GitHub ↗
(version, webhookCategory)

Source from the content-addressed store, hash-verified

54// `check_run`) -- this includes all the data per webhook action type and all
55// nested parameters
56export 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
62export async function getWebhooks(version) {

Callers 1

webhooks.jsFile · 0.90

Calls 1

getWebhooksFunction · 0.70

Tested by

no test coverage detected