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

Method Sanitize

api/pkg/requests/discord_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 *DiscordUpdate) Sanitize() DiscordUpdate {
17 input.DiscordStore.Sanitize()
18 return *input
19}
20
21// ToUpdateParams converts DiscordUpdate to services.DiscordUpdateParams
22func (input *DiscordUpdate) ToUpdateParams(user entities.AuthContext) *services.DiscordUpdateParams {

Callers 1

UpdateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected