Skip to content

Commit ae95ed6

Browse files
committed
Fix WebHook to Webhook typo
1 parent 637ba2c commit ae95ed6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎api/pkg/services/lemonsqueezy_service.go‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func NewLemonsqueezyService(
4040
}
4141

4242
// HandleSubscriptionCreatedEvent handles the subscription_created lemonsqueezy event
43-
func (service *LemonsqueezyService) HandleSubscriptionCreatedEvent(ctx context.Context, source string, request *lemonsqueezy.WebHookRequestSubscription) error {
43+
func (service *LemonsqueezyService) HandleSubscriptionCreatedEvent(ctx context.Context, source string, request *lemonsqueezy.WebhookRequestSubscription) error {
4444
ctx, span, ctxLogger := service.tracer.StartWithLogger(ctx, service.logger)
4545
defer span.End()
4646

@@ -68,7 +68,7 @@ func (service *LemonsqueezyService) HandleSubscriptionCreatedEvent(ctx context.C
6868
}
6969

7070
// HandleSubscriptionCanceledEvent handles the subscription_cancelled lemonsqueezy event
71-
func (service *LemonsqueezyService) HandleSubscriptionCanceledEvent(ctx context.Context, source string, request *lemonsqueezy.WebHookRequestSubscription) error {
71+
func (service *LemonsqueezyService) HandleSubscriptionCanceledEvent(ctx context.Context, source string, request *lemonsqueezy.WebhookRequestSubscription) error {
7272
ctx, span, ctxLogger := service.tracer.StartWithLogger(ctx, service.logger)
7373
defer span.End()
7474

@@ -102,7 +102,7 @@ func (service *LemonsqueezyService) HandleSubscriptionCanceledEvent(ctx context.
102102
}
103103

104104
// HandleSubscriptionExpiredEvent handles the subscription_expired lemonsqueezy event
105-
func (service *LemonsqueezyService) HandleSubscriptionExpiredEvent(ctx context.Context, source string, request *lemonsqueezy.WebHookRequestSubscription) error {
105+
func (service *LemonsqueezyService) HandleSubscriptionExpiredEvent(ctx context.Context, source string, request *lemonsqueezy.WebhookRequestSubscription) error {
106106
ctx, span, ctxLogger := service.tracer.StartWithLogger(ctx, service.logger)
107107
defer span.End()
108108

0 commit comments

Comments
 (0)