-
Notifications
You must be signed in to change notification settings - Fork 431
fix(backend): Allow null for period_end in billing subscription item webhook #7699
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
fix(backend): Allow null for period_end in billing subscription item webhook #7699
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: 610c3cd The changes in this PR will be included in the next version bump. This PR includes changesets to release 10 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
📝 WalkthroughWalkthroughThis pull request updates the 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Comment |
@clerk/agent-toolkit
@clerk/astro
@clerk/backend
@clerk/chrome-extension
@clerk/clerk-js
@clerk/dev-cli
@clerk/expo
@clerk/expo-passkeys
@clerk/express
@clerk/fastify
@clerk/localizations
@clerk/nextjs
@clerk/nuxt
@clerk/react
@clerk/react-router
@clerk/shared
@clerk/tanstack-react-start
@clerk/testing
@clerk/ui
@clerk/upgrade
@clerk/vue
commit: |
Description
Updates
period_endto allownullinBillingSubscriptionItemWebhookEventJSON.Previously, the API returned a negative timestamp for subscription items on the free plan. Now it returns
nullinstead, which is a cleaner representation.This aligns the webhook event type with the existing
BillingSubscriptionItemJSONtype which already allowsnull.Checklist
pnpm buildpassesperiod_enddefinitions in the codebaseReferences
Fixes: USER-4434
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.