MCPcopy Create free account
hub / github.com/authorizerdev/authorizer / UpdateWebhook

Method UpdateWebhook

internal/graphql/update_webhook.go:15–19  ·  view source on GitHub ↗

UpdateWebhook delegates to the transport-agnostic service layer. Resolver is a thin transport adapter. Permission: authorizer:admin

(ctx context.Context, params *model.UpdateWebhookRequest)

Source from the content-addressed store, hash-verified

13//
14// Permission: authorizer:admin
15func (g *graphqlProvider) UpdateWebhook(ctx context.Context, params *model.UpdateWebhookRequest) (*model.Response, error) {
16 gc, _ := utils.GinContextFromContext(ctx)
17 res, _, err := g.adminService().UpdateWebhook(ctx, service.MetaFromGin(gc), params)
18 return res, err
19}

Callers

nothing calls this directly

Calls 4

adminServiceMethod · 0.95
GinContextFromContextFunction · 0.92
MetaFromGinFunction · 0.92
UpdateWebhookMethod · 0.65

Tested by

no test coverage detected