Skip to content

Send and receive SMS messages using your Android phone programmatically via a simple HTTP API

Fix WebHook to Webhook typo

Acho Arnoldae95ed6e7a4e
diff --git a/api/pkg/services/lemonsqueezy_service.go b/api/pkg/services/lemonsqueezy_service.go
index fe5a0a00..5c8b7deb 100644
--- a/api/pkg/services/lemonsqueezy_service.go
+++ b/api/pkg/services/lemonsqueezy_service.go
@@ -40,7 +40,7 @@ func NewLemonsqueezyService(
}
// HandleSubscriptionCreatedEvent handles the subscription_created lemonsqueezy event
-func (service *LemonsqueezyService) HandleSubscriptionCreatedEvent(ctx context.Context, source string, request *lemonsqueezy.WebHookRequestSubscription) error {
+func (service *LemonsqueezyService) HandleSubscriptionCreatedEvent(ctx context.Context, source string, request *lemonsqueezy.WebhookRequestSubscription) error {
ctx, span, ctxLogger := service.tracer.StartWithLogger(ctx, service.logger)
defer span.End()
@@ -68,7 +68,7 @@ func (service *LemonsqueezyService) HandleSubscriptionCreatedEvent(ctx context.C
}
// HandleSubscriptionCanceledEvent handles the subscription_cancelled lemonsqueezy event
-func (service *LemonsqueezyService) HandleSubscriptionCanceledEvent(ctx context.Context, source string, request *lemonsqueezy.WebHookRequestSubscription) error {
+func (service *LemonsqueezyService) HandleSubscriptionCanceledEvent(ctx context.Context, source string, request *lemonsqueezy.WebhookRequestSubscription) error {
ctx, span, ctxLogger := service.tracer.StartWithLogger(ctx, service.logger)
defer span.End()
@@ -102,7 +102,7 @@ func (service *LemonsqueezyService) HandleSubscriptionCanceledEvent(ctx context.
}
// HandleSubscriptionExpiredEvent handles the subscription_expired lemonsqueezy event
-func (service *LemonsqueezyService) HandleSubscriptionExpiredEvent(ctx context.Context, source string, request *lemonsqueezy.WebHookRequestSubscription) error {
+func (service *LemonsqueezyService) HandleSubscriptionExpiredEvent(ctx context.Context, source string, request *lemonsqueezy.WebhookRequestSubscription) error {
ctx, span, ctxLogger := service.tracer.StartWithLogger(ctx, service.logger)
defer span.End()