MCPcopy Index your code
hub / github.com/NdoleStudio/httpsms / Sanitize

Method Sanitize

api/pkg/requests/webhook_update_request.go:16–19  ·  view source on GitHub ↗

Sanitize sets defaults to WebhookUpdate

()

Source from the content-addressed store, hash-verified

14
15// Sanitize sets defaults to WebhookUpdate
16func (input *WebhookUpdate) Sanitize() WebhookUpdate {
17 input.WebhookStore.Sanitize()
18 return *input
19}
20
21// ToUpdateParams converts WebhookUpdate to services.WebhookUpdateParams
22func (input *WebhookUpdate) ToUpdateParams(user entities.AuthContext) *services.WebhookUpdateParams {

Callers 1

UpdateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected