Update interval count in lemon-squeezy-webhook-handler

The interval count value for yearly subscriptions in the lemon-squeezy-webhook-handler service has been corrected. It was previously set to 12, which inaccurately represented a monthly subscription, so it has been updated to reflect the correct annual figure of 1.
This commit is contained in:
gbuomprisco
2024-07-12 14:32:10 +08:00
parent a75f7c576d
commit f48c6993dd

View File

@@ -441,6 +441,6 @@ function getSubscriptionIntervalType(renewsAt: string) {
return {
interval: 'year',
intervalCount: 12,
intervalCount: 1,
};
}