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

Method ToStoreParams

api/pkg/requests/webhook_store_request.go:34–42  ·  view source on GitHub ↗

ToStoreParams converts WebhookStore to services.WebhookStoreParams

(user entities.AuthContext)

Source from the content-addressed store, hash-verified

32
33// ToStoreParams converts WebhookStore to services.WebhookStoreParams
34func (input *WebhookStore) ToStoreParams(user entities.AuthContext) *services.WebhookStoreParams {
35 return &services.WebhookStoreParams{
36 UserID: user.ID,
37 SigningKey: input.SigningKey,
38 URL: input.URL,
39 PhoneNumbers: input.PhoneNumbers,
40 Events: input.Events,
41 }
42}

Callers 1

StoreMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected